I have some items that are toggle on/off IR/RF operated (where state might not be 100% correct in openHAB), and some where I might need to do another try if e.g. somebody is blocking the IR path. I used to have this working well in 2.3, by using the expire binding { expire=“2s” }. That way, in openHAB, the state would always be UNDEF, and any command I sent to it would be passed through (usually from Alexa through hue emulation) to by IR/RF blaster.
After upgrading to 2.4 this seems to have been broken at some step. Whenever the state is UNDEF, any attempt to turn the thing OFF is ignored (Hue emulation does not send the command).
Anyone have any clues? Is there a state check in the new hue emulation that treats UNDEF as OFF?
Notice “state” reports “on”=false (while state is UNDEF in openHAB). I don’t have a 2.3 to compare with, but at least my setup has worked perfectly in earlier openHAB versions.
Yesterday I’ve updated to 2.4 and since then I have the same problem with the hue emulation. If I turn off items via Alexa that are already off, the commands are no longer send to OpenHab - which is very bad for me.
Could you please open a bug report? I will add a test to the hue emulation that checks for this case (e.g. sending off to an already off-state item). AFAIK the hue emulation code does not consider the current state for on/off, it just hands it over to the framework.