Skip to content

Commit 1c32e36

Browse files
committed
Ready for promotion to release
1 parent b118f03 commit 1c32e36

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

custom_components/zimi/config_flow.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import socket
88
from typing import Any
99

10-
from strenum import StrEnum
10+
from enum import StrEnum
1111
import voluptuous as vol
1212
from zcc import (
1313
ControlPoint,
@@ -94,8 +94,10 @@ async def async_step_selection(
9494
errors: dict[str, str] = {}
9595

9696
if user_input is not None:
97-
self.data[CONF_HOST] = user_input[SELECTED_HOST_AND_PORT].split(":")[0]
98-
self.data[CONF_PORT] = int(user_input[SELECTED_HOST_AND_PORT].split(":")[1])
97+
self.data[CONF_HOST] = user_input[SELECTED_HOST_AND_PORT].split(":")[
98+
0]
99+
self.data[CONF_PORT] = int(
100+
user_input[SELECTED_HOST_AND_PORT].split(":")[1])
99101
return await self.create_entry()
100102

101103
available_options = [

custom_components/zimi/manifest.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
"codeowners": [
55
"@markhannon"
66
],
7-
"version": "2.0.1-dev4",
7+
"version": "2.0.1",
88
"config_flow": true,
99
"documentation": "https://www.home-assistant.io/integrations/zimi",
1010
"iot_class": "local_push",
1111
"quality_scale": "bronze",
1212
"requirements": [
13-
"StrEnum==0.4.15",
14-
"zcc-helper==3.3rc4"
13+
"zcc-helper==3.3"
1514
]
1615
}

0 commit comments

Comments
 (0)