Skip to content

Commit 98be2b9

Browse files
committed
Full var name
1 parent a09cf6c commit 98be2b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,8 +766,8 @@ def _get_gateway_outdoor_temp(self, entity_id: str, data: GwEntityData) -> None:
766766
if self._is_thermostat and entity_id == self.gateway_id:
767767
locator = "./logs/point_log[type='outdoor_temperature']/period/measurement"
768768
if (found := self._home_location.find(locator)) is not None:
769-
val = format_measure(found.text, NONE)
770-
data.update({"sensors": {"outdoor_temperature": val}})
769+
value = format_measure(found.text, NONE)
770+
data.update({"sensors": {"outdoor_temperature": value}})
771771
self._count += 1
772772

773773
def _process_c_heating_state(self, data: GwEntityData) -> None:

0 commit comments

Comments
 (0)