ZWaveJS - Fibaro dimmer 2 - S1 and S2 scenes

My first blueprint and im not a programmer, but this handles scene on the fibaro dimmer 2. Both the S1 and S2, also made a function for any button pressed(Use it for deactivate auto ligths)

This is great , thank you so much , I just moved all my zwave from Homeseer to Homeassistant and I was missing this feature .

while this is is great I noticed that sometimes the scene don’t fire and I have to trigger another scene in order for the scene I want could trigger . I think it detects the value changed and if I tried to trigger the same scene twice it wouldn’t work. not sure though so I switched to the old method and will test again