Closed seantibor closed 2 years ago
thanks @simbaja! Admittedly, I'm not sure what to do next now that I have those initial ErdCodes.
Basically, we now have to get this into the actual integration. That'll require publishing the updated version of the gehomesdk library (adding a few more things, then will do that), then creating a device in the integration along with all the sensors based on the erd codes (look at the simbaja/ha_gehome repository).
I'm also looking through some of this, and I think I see a few more things that you might be able to do here (not sure how important they are):
0x4040 = Modes Available 0x4047 = Min/Max Temps 0x4049 = Vacation Mode Max Time 0x404A = Max Electric Time 0x404B = Features
Should be published as 0.5.5, calling it a night, but let me know if you run into issues on the integration side. Only thing you'll need to do is make sure it's requesting the right version (HA recommends version pinning, so it's pulling specific versions instead of latest)
Gave it a quick shot in release 0.6.5-dev0 in the simbaja/ha_gehome repository (and on HACS). I think we'll probably want to implement at least 0x4047 in this library to make the controls correct in HA, might want some of the others too. Let me know how it looks, hopefully it works...
Added code for my geospring water heater. Could not find documentation for the ERD codes, so I used the websocket example to watch for state changes as I updated settings on the heater. Feedback welcome