mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Only add Netatmo climate schedule attribute if not None (#45176)
This commit is contained in:
parent
41b45c7f78
commit
b5690053a9
@ -417,6 +417,7 @@ class NetatmoThermostat(NetatmoBase, ClimateEntity):
|
||||
"heating_power_request", 0
|
||||
)
|
||||
|
||||
if self._selected_schedule is not None:
|
||||
attr[ATTR_SELECTED_SCHEDULE] = self._selected_schedule
|
||||
|
||||
return attr
|
||||
|
Loading…
x
Reference in New Issue
Block a user