ERROR (MainThread) [homeassistant.components.automation] Error while executing automation automation.toggle_luce_tavolo_deconz. Service not found for call_service at pos 1: Unable to find service light/yeelight_set_mode
Sure I’m missing something, could someone drive me to configure it properly? Thank you.
No one? I don’t understand at all how to setup brightness in moonlight mode since the service doesn’t support that key
Invalid data for call_service at pos 1: extra keys not allowed @ data['brightness']
EDIT: GOT IT!
From documentation:
nightlight_switch_type
(string)(Optional)
Adds another entity, to control nightlight mode (for models that supports it). Currently, only light is supported. It will create 2 light entities, one for normal light mode and second for nightlight mode. They are mutually exclusive.
Hey Lucas
Did you make this work?
When I add the “nightlight_switch_type: light”
I get an error in my config:
Error loading /home/homeassistant/.homeassistant/configuration.yaml: mapping values are not allowed here in “/home/homeassistant/.homeassistant/yeelights.yaml”, line 48, column 29
11:31 PM components/homeassistant/init.py (ERROR)
my config:
without the “nightlight_switch_type: light” I get an binary which I can turn the night light on and off, but when I change the brightness it turns off and goes back to “normal” mode.
I like to use the nightlight for a sunrise routine/rule.