-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Home Assistant Auto Config - only shows heat or off #6
Comments
Hey @austwhite , hmm, i see one Problem: the "mode" is a read/write property. So you can set to auto, heat and off (or cooling modes on other models) If you set mode to "auto" for example in hass then hass expects that reading this property it returns now "auto", not "idle". But "idle" is not a state which can be set by user. In other words:
But, after some reading: https://www.home-assistant.io/integrations/climate.mqtt/ You are talking about action_topic - this is a read-only flag. So i will add another read-only property called "action" with values
Does this looks suitable? Kind Regards |
@fashberg Yes I am referring to the action_topic and action_template. What you suggest could work very well with home assistant. |
Also, not sure how hard it would be to implement this. These thermostats also have "ecoMode" which could be classed as an "away" mode. Maybe something like this could work to implement it in HA ?
|
Hey @austwhite Feedback appreciated |
I'll check it out right now and let you know shortly :) |
Hi @fashberg I might have found the bug though.
Documentation: https://www.home-assistant.io/docs/mqtt/discovery/ Thanks :) Edit: There are some inconsistencies with Home Assistant's naming conventions. |
Just additional, The action attribute works perfectly, I have monitored it in a manual setup and I don't need to write any work around scripts. It just works with the json_value as expected. :) |
@fashberg I did note one other little bug. When the thermostat is changed from Auto to Manual and the targetTemp updates, the JSON still sends the old targetTemp until the temperature is changed either in Home Assistant or on the thermostat. |
hi @fashberg I am not sure how to fix the other bug ( targetTemperature not updating when changing from auto to manual heat ). Do you want me to raise a different issue for that one? Edit: Worked out the pull request thing :) |
hi @fashberg |
Thanks for looking at this so quickly @fashberg . |
This is more a feature request I guess.
With Home Assistant, when the thermostat has the hardware mod, there is the option to show Heating or Idle when the device is on and Off when the device is off.
The current implementation only shows Heat and Off and does not indicate the idle time.
Would it be possible for this to be implemented? I do understand this may be tricky given the way the
state
attribute works in the firmwareI really appreciate the work you've done so far.
As a note, to do this in YAML manually, I had to use a script due to Klaus's firmware only using
off
andheating
for thestate
. Below is the YAML I had to use to getidle
status to show in Home Assistant.The text was updated successfully, but these errors were encountered: