mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
added docstring
This commit is contained in:
parent
a577d5c5fa
commit
571073fe1f
@ -118,16 +118,19 @@ def reconnect():
|
|||||||
|
|
||||||
@Throttle(MIN_TIME_BETWEEN_REQUESTS)
|
@Throttle(MIN_TIME_BETWEEN_REQUESTS)
|
||||||
def update_alarm():
|
def update_alarm():
|
||||||
|
""" Updates the status of alarms. """
|
||||||
update_component(MY_PAGES.alarm.get, ALARM_STATUS)
|
update_component(MY_PAGES.alarm.get, ALARM_STATUS)
|
||||||
|
|
||||||
|
|
||||||
@Throttle(MIN_TIME_BETWEEN_REQUESTS)
|
@Throttle(MIN_TIME_BETWEEN_REQUESTS)
|
||||||
def update_climate():
|
def update_climate():
|
||||||
|
""" Updates the status of climate sensors. """
|
||||||
update_component(MY_PAGES.climate.get, CLIMATE_STATUS)
|
update_component(MY_PAGES.climate.get, CLIMATE_STATUS)
|
||||||
|
|
||||||
|
|
||||||
@Throttle(MIN_TIME_BETWEEN_REQUESTS)
|
@Throttle(MIN_TIME_BETWEEN_REQUESTS)
|
||||||
def update_smartplug():
|
def update_smartplug():
|
||||||
|
""" Updates the status of smartplugs. """
|
||||||
update_component(MY_PAGES.smartplug.get, SMARTPLUG_STATUS)
|
update_component(MY_PAGES.smartplug.get, SMARTPLUG_STATUS)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user