File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -294,8 +294,8 @@ def _get_measurement_data(self, entity_id: str) -> GwEntityData:
294294 if appliance .find ("type" ).text in ACTUATOR_CLASSES :
295295 self ._get_actuator_functionalities (appliance , entity , data )
296296
297- # Anna: the Smile outdoor_temperature is present in DOMAIN_OBJECTS or LOCATIONS - under Home
298- # Some Anna's have an empty LOCATIONS !
297+ # Anna: the Smile outdoor_temperature is present in the Home location
298+ # For some Anna's LOCATIONS is empty, falling back to domain_objects !
299299 if self ._is_thermostat and entity_id == self .gateway_id :
300300 locator = f"./location[@id='{ self ._home_loc_id } ']/logs/point_log[type='outdoor_temperature']/period/measurement"
301301 if (found := self ._domain_objects .find (locator )) is not None :
You can’t perform that action at this time.
0 commit comments