File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -419,7 +419,9 @@ def _collect_appliance_data(
419419 appliance := self ._domain_objects .find (f'./appliance[@id="{ entity_id } "]' )
420420 ) is not None :
421421 # Collect the cooling enabled toggle state
422- self ._get_toggle_state (appliance , "cooling_enabled" , "cooling_ena_switch" , data )
422+ self ._get_toggle_state (
423+ appliance , "cooling_enabled" , "cooling_ena_switch" , data
424+ )
423425
424426 self ._appliance_measurements (appliance , data , measurements )
425427 self ._get_lock_state (appliance , data )
@@ -473,7 +475,9 @@ def _appliance_measurements(
473475 if self ._dhw_allowed_modes :
474476 data ["select_dhw_mode" ] = appl_p_loc .text
475477 if old_measurement == "domestic_hot_water_comfort_mode" :
476- data ["select_dhw_mode" ] = "comfort" if appl_p_loc .text == "on" else "off"
478+ data ["select_dhw_mode" ] = (
479+ "comfort" if appl_p_loc .text == "on" else "off"
480+ )
477481
478482 common_match_cases (measurement , attrs , appl_p_loc , data )
479483
You can’t perform that action at this time.
0 commit comments