should work. I have only been around openHAB for a couple months, I really have not found a complete set of documentation showing the methods for each object type.
A Dimmer has a value between 0 and 100 percent A value of 0 is equivalent to OFF. Sending an ON/OFF value to a Dimmer will convert ON=100 or OFF=0 before storing the value.
Yeah thatâs what I was kind of thinking, sorry was on my iphone earlier so only managed a one line reply.
I think @steve1 is right. But if a state set by openHAB for a dimmer is â0â, is that the same as âOFFâ when a rule is looking at it?
I can vouch for âwhen changed from ON to OFFâ as being very usable and useful. So why isnât this one working? Iâve only ever done it on switches and virtual switches, not dimmers.
My workaround would be to use a virtual switch to store the previous state and test if it is anything other than â1â when the switch PowderRoom changes perhaps.
Based upon your âYeah that what I was thinkingâŠâ I RE-tried:
When
Item PowderRoom changed to 0
and it works.
This time I made sure everything else was running errorless then introduced your idea and it works great.
Clearly, I did something wrong with my first attempt - lotâs of moving parts and chasing ghosts.
Thanks for taking the time to lend a beginner a hand.