Skip to content

Commit

Permalink
Add start and end times to room class (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
deosrc authored Nov 20, 2023
1 parent 70dd122 commit d922414
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pyatmo/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class Room(NetatmoBase):
therm_setpoint_temperature: float | None = None
therm_setpoint_mode: str | None = None
therm_measured_temperature: float | None = None
therm_setpoint_start_time: int | None = None
therm_setpoint_end_time: int | None = None

def __init__(
self,
Expand Down Expand Up @@ -92,6 +94,8 @@ def update(self, raw_data: RawData) -> None:
self.therm_measured_temperature = raw_data.get("therm_measured_temperature")
self.therm_setpoint_mode = raw_data.get("therm_setpoint_mode")
self.therm_setpoint_temperature = raw_data.get("therm_setpoint_temperature")
self.therm_setpoint_start_time = raw_data.get("therm_setpoint_start_time")
self.therm_setpoint_end_time = raw_data.get("therm_setpoint_end_time")

async def async_therm_manual(
self,
Expand Down

0 comments on commit d922414

Please sign in to comment.