The component device_sun_light_trigger
does not support the new person
component yet.
Using a device_tracker
or a group containing multiple device_trackers works as expected though.
config entry:
device_sun_light_trigger:
light_group: group.marc_lights
light_profile: relax
device_group: person.marc
This currently yields:
2019-03-08 18:16:56 INFO (MainThread) [homeassistant.loader] Loaded device_sun_light_trigger from homeassistant.components.device_sun_light_trigger
2019-03-08 18:16:58 INFO (MainThread) [homeassistant.setup] Setting up device_sun_light_trigger
2019-03-08 18:16:58 ERROR (MainThread) [homeassistant.components.device_sun_light_trigger] No devices found to track
2019-03-08 18:16:58 INFO (MainThread) [homeassistant.setup] Setup of domain device_sun_light_trigger took 0.0 seconds.
2019-03-08 18:16:58 ERROR (MainThread) [homeassistant.setup] Setup failed for device_sun_light_trigger: Component failed to initialize.
Maybe a new config variable like person_group
should be introduced to the device_sun_light_trigger
component, to separate person and device_tracker entries.
Proposed config entry:
device_sun_light_trigger:
light_group: group.marc_lights
light_profile: relax
person_group: person.marc