Skip to content

Commit 96699d6

Browse files
committed
Type percentage-sensors as int
1 parent 16f1e09 commit 96699d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugwise/constants.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ class SmileBinarySensors(TypedDict, total=False):
425425
class SmileSensors(TypedDict, total=False):
426426
"""Smile Sensors class."""
427427

428-
battery: float
428+
battery: int
429429
cooling_activation_outdoor_temperature: float
430430
cooling_deactivation_threshold: float
431431
dhw_temperature: float
@@ -457,10 +457,10 @@ class SmileSensors(TypedDict, total=False):
457457
electricity_produced_point: float
458458
gas_consumed_cumulative: float
459459
gas_consumed_interval: float
460-
humidity: float
460+
humidity: int
461461
illuminance: float
462462
intended_boiler_temperature: float
463-
modulation_level: float
463+
modulation_level: int
464464
net_electricity_cumulative: float
465465
net_electricity_point: float
466466
outdoor_air_temperature: float
@@ -470,7 +470,7 @@ class SmileSensors(TypedDict, total=False):
470470
setpoint_high: float
471471
setpoint_low: float
472472
temperature_difference: float
473-
valve_position: float
473+
valve_position: int
474474
voltage_phase_one: float
475475
voltage_phase_two: float
476476
voltage_phase_three: float

0 commit comments

Comments
 (0)