Namespaces | |
| config_flow | |
| const | |
| entity | |
| sensor | |
| trigger | |
Functions | |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, SunConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, SunConfigEntry entry) |
Support for functionality to keep track of the sun.
| bool homeassistant.components.sun.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Track the state of the sun.
Definition at line 27 of file __init__.py.
| bool homeassistant.components.sun.async_setup_entry | ( | HomeAssistant | hass, |
| SunConfigEntry | entry | ||
| ) |
Set up from a config entry.
Definition at line 43 of file __init__.py.
| bool homeassistant.components.sun.async_unload_entry | ( | HomeAssistant | hass, |
| SunConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 51 of file __init__.py.