Lights On at Sunset app for AppDaemon.
Simply toggles lights on at sundown, turns them off at sunrise. You can set the light service data.
Download the sunset_lights
directory from inside the apps
directory to your local apps
directory, then add the configuration to enable the hacs
module.
sunsetlights:
module: sunset_lights
class: SunsetLights
entities:
- group.sconces
sunsetlights:
module: sunset_lights
class: SunsetLights
entities:
- group.sconces
- entity: light.office_lamp
service_data:
brightness: 100
kelvin: 2700
- entity: light.office_mood
service_data:
brightness: 130
rgb_color: [255,0,0]
log_level: INFO
key | optional | type | default | description |
---|---|---|---|---|
module |
False | string | sunset_lights |
The module name of the app. |
class |
False | string | SunsetLights |
The name of the Class. |
entities |
False | list | A list of entity_id's or entity objects. | |
log_level |
True | 'INFO' | 'DEBUG' |
'INFO' |
Switches log level. |
key | optional | type | default | description |
---|---|---|---|---|
entity |
False | string | The entity_id of the switch or light. | |
service_data |
True | map | Turn on service data. Whenever the door turns on a light or switch, this data will be passed to the service data. Warning: Use only valid combinations. Light combinations are not validated and can cause errors in Home Assistant. |