Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions homeassistant/components/smarttub/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ async def async_set_primary_filtration(self, **kwargs):
duration=kwargs.get(ATTR_DURATION),
start_hour=kwargs.get(ATTR_START_HOUR),
)
await self.coordinator.async_request_refresh()


class SmartTubSecondaryFiltrationCycle(SmartTubSensor):
Expand Down Expand Up @@ -164,3 +165,4 @@ async def async_set_secondary_filtration(self, **kwargs):
kwargs[ATTR_MODE].upper()
]
await self.cycle.set_mode(mode)
await self.coordinator.async_request_refresh()