kngharv
(Harvey King)
1
I have this z-wave light bulb (go/linear single color dimmable bulb)
I can switch on and off z-wave light bulb using GUI, so, that is no problem.
I have automate other z-wave switch in the past, so I know the basics.
As for automation, the trigger part and the condition part I can handle, when it comes to “actions” I don’t know what to do.
do i call “light.turn_on” / “light.turn_off” service?
if not, what to do?
I want to turn on my z-wave bulb and adjust its brightness.
Thanks in advance
lolouk44
(lolouk44)
2
provided your zwave bulb is defined as a light, it would look like this:
- service: light.turn_on
data:
entity_id: light.YOUR_ZWAVE_LIGHT_NAME_HERE
brightness: 255
Tinkerer
(aka DubhAd on GitHub)
3
See the light component documentation for how to interact with it.
kngharv
(Harvey King)
4
thanks. So, other than brightness, there is no “on/off” switch in this regard, right?
Thanks
kngharv
(Harvey King)
5
Thank you. I wasn’t aware that z-wave light bulb is considered a “light” component. I thought z-wave devices are entire category of its own.
lolouk44
(lolouk44)
6
service: light.turn_on
to turn the light on,
service: light.turn_off
to turn the light off
1 Like