I’m playing around with changing the led indicator/strip of my red and black series switches - for this post, trying to change the led color via a scene or automation. I know this can be done via zwavejs manually but I’m trying to automate this (i.e. indicator for alarm, weather, motion, whatever). From what I can see I should be able to use set configuration parameter from yaml to do this. Interestingly there seems to be no way to control config parameters from a HA scene, so I’ trying it in an automation where I can see that. I created a dummy automation and right now only fiddling with the action piece (for testing I run the automation manually). My yaml for the action looks like this (for my black series dimmer):
I run the action and nothing happens. I tried something similar with a red series on/off (I think the parameter is 5 for that device). Note, I used the visual editor and just copied it as yaml for the purpose of this post. Could be the way HA is setting up the yaml is incorrect (I think I remember reading we need to manipulate the bitmask but I cannot find and info about that).
Any help would be appreciated!
FYI - I did see a post that possibly this is easier in Node Red so that’s my next stop, but would like to see how to do this straight from within HA first.
Try removing the bitmask and subtype. It also doesn’t look right but I don’t have access until tonight to look at what gets created or how it gets created in the visual editor. Something like this seems more correct to me.
Thanks @PJF that worked! Seems like I popped your yaml and and updated with my entity ID and ran it - works great. I converted it to visual editor (and also by looking at the yaml) is that it’s calling a service
Hmm, I don’t have a button to test in the button right of the action or the overall automation. I have to go back to the automation list and click “run action” from there.
I see I’m going to have to step up my understanding of YAML as it’s going to make things so much easier
Oh, you’re in the automation editor maybe??? In the developer tools\Service you can put in a service and there is a button to test it. Then, you can switch to YAML to get the code.