Add econet thermostat support and use getattr for sensors#45564
Add econet thermostat support and use getattr for sensors#45564MartinHjelmare merged 14 commits into
Conversation
|
@MartinHjelmare would love if you can take a look. Made some updates you requested previously. |
derekatkins
left a comment
There was a problem hiding this comment.
I've been running this code and it's been working well for me.
I don't know how to handle the Medium-Low and Medium-High fan speeds, so I don't have a suggestion.
My biggest issue with Econet isn't with this, but with the Econet API itself, which doesn't provide sufficient per-zone status data in a multi-zone HVAC system. For example, it wont tell you which zone is calling for heat/AC. But this isn't the integration's fault.
|
I take it back -- I wasn't running this code, I was running a different version. I changed to this version and now I'm getting errors during startup and none of the devices or entities show up. An example of the error: I should note that this is when running against 2021.1.5, not 2021.2.0beta, so it's possible that there are other missing things that this PR depends on? |
|
@derekatkins Should be fixed now. |
|
@w1ll1am23 Thanks. Now it's getting further, but still no climate entities. It tries to create a bunch of duplicate entities: My guess here is that it is trying to create the entities both from water_heater and climate, even though I only have a climate (HVAC). And then it throws a bunch of errors: |
|
@derekatkins yeah, I'm not sure whats going on here. I pushed something else that should fix the climate entity from not showing up. I can't figure out why it is duplicating the sensors... |
…et version and set thermostats to get push updates
|
@derekatkins the duplication issue should be fixed with the latest push. |
|
Confirmed, duplication issue is fixed, no crashes/traces seen, and basic functionality tests pass (able to change setpoints in HA and they get reflected in the thermostat, and change setpoint in thermostat and change is reflected in HA). New sensors also appear to work. Thank you! |
|
@MartinHjelmare can you please review this? |
…ll1am23/home-assistant into econet_thermostats_and_sensor_updates
|
@derekatkins can you test these latest changes? |
Yes, I'll update my installation shortly and let you know. |
|
Hi @w1ll1am23 I have not tried to delete and re-configure... |
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
|
Hi. Just tested the current code and it's working for me. I have update the temps in both directions, and I see the sensors I should. |
Proposed change
Add support for EcoNet thermostats and their associated sensors
Type of change
Additional information
This also addresses a comment here #44427 about using getattr for sensor stuff
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: