File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1077,10 +1077,9 @@ def _get_measurement_data(self, dev_id: str) -> DeviceData:
10771077 # Collect availability-status for wireless connected devices to Adam
10781078 self ._wireless_availablity (appliance , data )
10791079
1080- if dev_id == self .gateway_id :
1081- if self .smile (ADAM ):
1082- self ._get_regulation_mode (appliance , data )
1083- self ._get_gateway_mode (appliance , data )
1080+ if dev_id == self .gateway_id and self .smile (ADAM ):
1081+ self ._get_regulation_mode (appliance , data )
1082+ self ._get_gateway_mode (appliance , data )
10841083
10851084 # Adam & Anna: the Smile outdoor_temperature is present in DOMAIN_OBJECTS and LOCATIONS - under Home
10861085 # The outdoor_temperature present in APPLIANCES is a local sensor connected to the active device
You can’t perform that action at this time.
0 commit comments