Functions | |
| def | activate_automation (hass, device_group, light_group, light_profile, disable_turn_off) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
Variables | |
| string | CONF_DEVICE_GROUP = "device_group" |
| string | CONF_DISABLE_TURN_OFF = "disable_turn_off" |
| string | CONF_LIGHT_GROUP = "light_group" |
| string | CONF_LIGHT_PROFILE = "light_profile" |
| CONFIG_SCHEMA | |
| bool | DEFAULT_DISABLE_TURN_OFF = False |
| string | DEFAULT_LIGHT_PROFILE = "relax" |
| string | DOMAIN = "device_sun_light_trigger" |
| LIGHT_TRANSITION_TIME = timedelta(minutes=15) | |
Support to turn on lights based on the states.
| def homeassistant.components.device_sun_light_trigger.activate_automation | ( | hass, | |
| device_group, | |||
| light_group, | |||
| light_profile, | |||
| disable_turn_off | |||
| ) |
Activate the automation.
Definition at line 93 of file __init__.py.
| bool homeassistant.components.device_sun_light_trigger.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the triggers to control lights based on device presence.
Definition at line 71 of file __init__.py.
| string homeassistant.components.device_sun_light_trigger.CONF_DEVICE_GROUP = "device_group" |
Definition at line 42 of file __init__.py.
| string homeassistant.components.device_sun_light_trigger.CONF_DISABLE_TURN_OFF = "disable_turn_off" |
Definition at line 43 of file __init__.py.
| string homeassistant.components.device_sun_light_trigger.CONF_LIGHT_GROUP = "light_group" |
Definition at line 44 of file __init__.py.
| string homeassistant.components.device_sun_light_trigger.CONF_LIGHT_PROFILE = "light_profile" |
Definition at line 45 of file __init__.py.
| homeassistant.components.device_sun_light_trigger.CONFIG_SCHEMA |
Definition at line 52 of file __init__.py.
| bool homeassistant.components.device_sun_light_trigger.DEFAULT_DISABLE_TURN_OFF = False |
Definition at line 47 of file __init__.py.
| string homeassistant.components.device_sun_light_trigger.DEFAULT_LIGHT_PROFILE = "relax" |
Definition at line 48 of file __init__.py.
| string homeassistant.components.device_sun_light_trigger.DOMAIN = "device_sun_light_trigger" |
Definition at line 41 of file __init__.py.
| homeassistant.components.device_sun_light_trigger.LIGHT_TRANSITION_TIME = timedelta(minutes=15) |
Definition at line 50 of file __init__.py.