File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
custom_components/plugwise Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 4848 ANNA_WITH_ADAM ,
4949 CONF_HOMEKIT_EMULATION , # pw-beta option
5050 CONF_REFRESH_INTERVAL , # pw-beta option
51- CONTEXT ,
5251 DEFAULT_PORT ,
5352 DEFAULT_SCAN_INTERVAL , # pw-beta option
5453 DEFAULT_TIMEOUT ,
@@ -200,11 +199,11 @@ async def async_step_zeroconf(
200199 def is_matching (self , other_flow : Self ) -> bool :
201200 """Return True if other_flow is matching this flow."""
202201 # This is an Anna, and there is already an Adam flow in progress
203- if self .product == "smile_thermo" and other_flow .product == "smile_open_therm" :
202+ if self .product == SMILE_THERMO and other_flow .product == SMILE_OPEN_THERM :
204203 return True
205204
206205 # This is an Adam, and there is already an Anna flow in progress
207- if self .product == "smile_open_therm" and other_flow .product == "smile_thermo" :
206+ if self .product == SMILE_OPEN_THERM and other_flow .product == SMILE_THERMO :
208207 self .hass .config_entries .flow .async_abort (other_flow .flow_id )
209208
210209 return False
You can’t perform that action at this time.
0 commit comments