Issue using device_sun_light_trigger

17-03-03 23:22:28 ERROR (MainThread) [homeassistant.components.device_sun_light_trigger] No lights found to turn on
17-03-03 23:22:28 ERROR (MainThread) [homeassistant.bootstrap] component device_sun_light_trigger failed to initialize

I keep getting the above error message which is meant to turn my living room light on when anyone is home. The relevant config settings are below:

group:
  family:
    name: Family
    entities:
      - device_tracker.iphone
      - device_tracker.android
  office:
    name: Office
      - light.office_light
      - light.desk_lightstrip
  living_room:
    name: Living Room
      - light.living_room_light

device_sun_light_trigger:
  light_group: group.living_room
  device_group: group.family

Any idea why this is failing?

What is this? Is this a new component?

I think so? It’s from here:

1 Like

Groups “office” and “living_room” are missing the “entities:” line. Maybe that’s the reason.

Thanks! That’s worked. At least it’s stopped any errors appearing.

Wow, just when you thought you’ve seen everything in the docs!

I never saw this one, thanks!