I have a couple of LIFX Candle bulbs in 2 IKEA SYMFONISK lamps, and here’s the code from the actual automation to change between warm white (45% brightness), and cool white (100% brightness) in 7 seconds using the “power” button.
Thanks p4mr! Really appreciate your reply.
What I was hoping for was that I could use the long-press/hold button for just the dim function. Where the short-press turns on/off the light (toggle). With the long-press I would like to be able to dim up to 100% and then when it reaches 100% dim down again.
Thanks for clarification and pointing me in the right direction. Big thumbs up. Saves me a lot of time searching for an idea I have which is not possible. Thanks for taking your time to reply back p4mr!
Yup, it did. I’ve had to roll mine back to 2021.3.4 as it broke too many of my Zwave devices and automations to resolve in one go. I’ll edit the first post to indicate the blueprint only works up to that prior version.
Hi. Just found your blueprint while looking for my own HANK 4-button blueprint. I wish I’d found yours before working on my own. It was a good learning experience, regardless.
These scene controllers also support a KeyReleased event. Perhaps @andreasm80 could use that if the mode was restart? There used to be an example in the old Cookbook page but it looks like it’s been changed to highlight blueprints instead.
I’m a bit of a newbie and thought I’d pass this on about the blueprint in case other experience it. I noticed I need to create a action for each of the 8 button possibilities or else my Z-Wave JS integration has problems. I loose control of all my Z-Wave devices. At first I only entered actions for the push of the buttons and left the hold button values blank. As soon as I saved my Z-Wave locked up and I couldn’t edit the automation further to get back to square one. I was also unable to delete the automation. I had to restore a Snapshot to recover then recreate the automation from the blueprint and enter an action for each variable to get it working.
As @normgr00 points out, you can indeed break all Automations if the actions fields are added but left blank. (Just don’t add an action and you’ll be okay). To recover, edit /config/automations.yaml with Terminal/SSH or filesystem access and remove the lines with empty actions.