Skip to content

Commit e041d79

Browse files
committed
Improve typing
1 parent 2b8d6b8 commit e041d79

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

plugwise/constants.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,6 @@ class SmileSensors(TypedDict, total=False):
654654
cooling_activation_outdoor_temperature: float
655655
cooling_deactivation_threshold: float
656656
dhw_temperature: float
657-
domestic_hot_water_setpoint: float
658657
temperature: float
659658
electricity_consumed: float
660659
electricity_consumed_interval: float
@@ -680,7 +679,6 @@ class SmileSensors(TypedDict, total=False):
680679
humidity: float
681680
illuminance: float
682681
intended_boiler_temperature: float
683-
maximum_boiler_temperature: float
684682
modulation_level: float
685683
net_electricity_cumulative: float
686684
net_electricity_point: int
@@ -763,7 +761,8 @@ class DeviceData(ApplianceData, DeviceDataPoints, TypedDict, total=False):
763761
"""The Device Data class, covering the collected and ordere output-data per device."""
764762

765763
binary_sensors: SmileBinarySensors
766-
domestic_hot_water_setpoint: ActuatorData
764+
domestic_hot_water_setpoint: ActuatorData | float
765+
maximum_boiler_temperature: ActuatorData | float
767766
sensors: SmileSensors
768767
switches: SmileSwitches
769768
thermostat: ActuatorData

0 commit comments

Comments
 (0)