Skip to content

Commit cb44790

Browse files
committed
CR: docupdate
1 parent acaa6a0 commit cb44790

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

plugwise_usb/api.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,15 +271,18 @@ class SenseHysteresisConfig:
271271
272272
Attributes:
273273
humidity_enabled: bool | None: enable humidity hysteresis
274-
humidity_upper_bound: int | None: upper humidity switching value
275-
humidity_lower_bound: int | None: lower humidity switching value
276-
humidity_direction: bool | None: True switch on on increasing humidity, False switch off on increasing humidity
274+
humidity_upper_bound: float | None: upper humidity switching value
275+
humidity_lower_bound: float | None: lower humidity switching value
276+
humidity_direction: bool | None: True switch ON when humidity rises, False switch OFF when humidity rises
277277
temperature_enabled: bool | None: enable temperature hysteresis
278-
temperature_upper_bound: int | None: upper temperature switching value
279-
temperature_lower_bound: int | None: lower temperature switching value
280-
temperature_direction: bool | None: True switch on on increasing temperature, False switch off on increasing temperature
278+
temperature_upper_bound: float | None: upper temperature switching value
279+
temperature_lower_bound: float | None: lower temperature switching value
280+
temperature_direction: bool | None: True switch ON when temperature rises, False switch OFF when temperature rises
281281
dirty: bool: Settings changed, device update pending
282282
283+
Notes:
284+
Disabled sentinel values are hardware-specific (temperature=17099 for -1°C, humidity=2621 for -1%) and are handled in the node layer; the public API exposes floats in SI units.
285+
283286
"""
284287

285288
humidity_enabled: bool | None = None

0 commit comments

Comments
 (0)