Yes, that is true, ON and OFF are the only DISPLAYED events in the orbiter.
However, by issuing this command, we can see the status on the admin site (Automation/Device Status)
More important, we can query the system as to what the current REALLY is, (vs just ON/OFF)
This trick is more of a work around, and I agree, it's not the 'right' way to do it..
My position is: it's better than just on/off, and I haven't found a BETTER way yet short of saving the light state as a devdata in the device. (and that's just a waste of programming, as it has NO LINK whatsoever to the rest of the system.. totally proprietary, just plain sloppy)
When they (whomever THEY are) DO fix the lighting to report PROPER state, they'll most likely use the value currently stored STATE...
Maybe they will add an event to change it at that time... until then, this works.
I wish I was a better programmer.. I wish I knew C++, I wish I wish I wish...
who knows, maybe I'll get pissed off at that enough to tackle it too... lol
Let's take that another step, and extend the STATE information to ALL HA devices... not just lights, but timers, Flow regulators, Curtains, Blinds, Temperature, Electrical usage, plumbing fixtures, Heat loss ratio, water temperature, etc etc etc...
I could see some SERIOUS automation going on there... this is just the tip of the iceberg!
Imagine, a house that is 'self aware' enough to try to conserve energy... to the point of dimming lights when current usage is high.. not allowing the dish washer or washer/dryer to run until current energy conditions are low enough...
add to that what lmce already is, that is my definition of COOL.
Just some thoughts...
Dan