I’m receiving the following errors in HA 0.57.2 after a restart:
2017-11-05 22:37:08 WARNING (MainThread) [homeassistant.core] Unable to find service light/turn_on
I’ve traced it back to an automation that is as follows:
alias: "lights_on_at_sunset"
trigger:
- platform: sun
event: sunset
offset: "-01:00:00"
condition:
condition: template
value_template: "{% if states('device_tracker.iphone1') == 'home' or states('device_tracker.iphone2') == 'home' %}true{% else %}false{% endif %}"
action:
- service: homeassistant.turn_on
entity_id: switch.cabinet_switch
- service: homeassistant.turn_on
entity_id: light.cabinet_lights_level
- service: logbook.log
data:
name: "Automation Triggered: "
message: "lights_on_at_sunset"
I’ve narrowed the issue down to the section:
- service: homeassistant.turn_on
entity_id: light.cabinet_lights_level
If I comment out that section, the error goes away. If I leave it in, I get the error. The automation still works, regardless of the error.
The “light” is a GE Z-Wave dimmer. The “switch” is a GE Z-Wave switch. Only the light generate this issue.