Add error, link error, panel lock and initialized attributes for devices
Recently one of my thermostats stopped responding, even button presses didn't do anything. Had to remove batteries. I noticed not working thermostat only because the room temperature was too low.
To avoid this situation in the future, I plan to monitor error and link_error attributes with HomeAssistant.
Also exposed initialized, not sure what is it.
And exposed panel lock - seems nice to have it. In the future would like to have the ability to set it with API.
Based on L message documentation, extracted additional properties for devices:
- error - not sure what that means, some of my devices have this flag set, but they seem to be functioning
- link error - some of my devices sometimes get this error
- panel lock - tested, works. Setting this flag via API would be nice, have to investigate how to do that
- initialized - not sure what is it
L-message contains also valid flag. Not sure what is it, maybe should expose that also? Does anybody know what is it?
Ping @unaiur
@hackercowboy ?
oh thanks, i was also planning to implement those (both here and in the HA integration) Only i'm not sure a mantainer is still around to merge this and my pull requests :) incredibly i'm quite happy with my MAX system (used it for years without HA with my custom code), so it's not time to give it up