Skip to content

Commit af6bde9

Browse files
committed
CR: few nitpicks
1 parent a4367c5 commit af6bde9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugwise_usb/nodes/sense.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ async def set_hysteresis_humidity_lower_bound(self, lower_bound: float) -> bool:
435435
return True
436436

437437
async def set_hysteresis_humidity_direction(self, state: bool) -> bool:
438-
"""Configure humitidy hysteresis to switch on or off on increasing or decreasing direction.
438+
"""Configure humidity hysteresis to switch on or off on increasing or decreasing direction.
439439
440440
Configuration request will be queued and will be applied the next time when node is awake for maintenance.
441441
"""
@@ -791,7 +791,7 @@ async def _sense_configure_update(self) -> None:
791791
await gather(
792792
self.publish_feature_update_to_subscribers(
793793
NodeFeature.SENSE_HYSTERESIS,
794-
self._hysteresis_config,
794+
self.hysteresis_config,
795795
),
796796
self.save_cache(),
797797
)

0 commit comments

Comments
 (0)