Add refresh when changing SmartTub filtration settings (#51014)
This commit is contained in:
parent
121349f866
commit
d7da32cbb9
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,7 @@ class SmartTubPrimaryFiltrationCycle(SmartTubSensor):
|
|||
duration=kwargs.get(ATTR_DURATION),
|
||||
start_hour=kwargs.get(ATTR_START_HOUR),
|
||||
)
|
||||
await self.coordinator.async_request_refresh()
|
||||
|
||||
|
||||
class SmartTubSecondaryFiltrationCycle(SmartTubSensor):
|
||||
|
@ -164,3 +165,4 @@ class SmartTubSecondaryFiltrationCycle(SmartTubSensor):
|
|||
kwargs[ATTR_MODE].upper()
|
||||
]
|
||||
await self.cycle.set_mode(mode)
|
||||
await self.coordinator.async_request_refresh()
|
||||
|
|
Loading…
Add table
Reference in a new issue