File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 77import socket
88from typing import Any
99
10- from strenum import StrEnum
10+ from enum import StrEnum
1111import voluptuous as vol
1212from 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 = [
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments