Change in Honeywell Thermostat Display - Time in cooling mode not shown

Some time in the past few days, the way my Honeywell thermostat displays on the front end has changed.

It used to show green, filled in under the temperature bar, whenever the thermostat called for cooling. Likewise, in the winter it was filled in red. In other words, alternating bands of green and white would show as the cooling cycled on and off to maintain the temperature.

Now, as soon as I switch on cooling mode at the thermostat, the green fill is displayed, but that no longer changes when the cooling cycles off. It appears that itā€™s just showing that the system is in cooling MODE, not that itā€™s actively cooling.

This seems sort of useless:

I notice some other changes with this climate entity. I think there used to be only one ā€œtarget_temp.ā€ Now thereā€™s one for ā€œ_highā€ and ā€œ_low.ā€ Iā€™m not clear on whether it was the Honeywell server which changed, the entity in HA, or something else.

Any ideas how to get back an indication as to when the cooling (and heating) are actually active?

You donā€™t give us even the barest of information about your system, like home assistant version. However you are on 0.96 you should read the release notes on changes to the climate system.

1 Like

Thank you! I missed that in the Release Notes because I was scanning for breaking changes. Admittedly, nothing really ā€œbroke,ā€ so I guess thatā€™s on me. Thereā€™s only so many hours in a day, and I just didnā€™t have time to read everything.

Yes, I recently updated to 0.96, sorry I left that out. Again, rushed for time.

Thereā€™s a great write-up on the dev blog, which was (helpfully) linked from the Relase Notes page.

The change was pretty significant. Overall, itā€™s a real positive, kudos to all who worked on it! This will bring the Climate integration into much better shape to support all kinds of hardware going forward.

One welcome change was this: (Quoting Paulus in the blog post linked above):

The biggest mistake we made is that we conflated operating and operation mode. Operation mode is what you want your thermostat to do, for example, heat the house to 19 Ā°C. The operating mode is what the thermostat is currently doing. Is it heating because the house is too cold? Or did it already reach the target temperature and is it currently idle?

My problem, however, is that the climate card in Lovelace is now using that ā€œOperating modeā€ (now called hvac_mode) to paint the shading under the line in the chart.

Thatā€™s not really helpful. Knowing what the thermostat is currently doing is whatā€™s important.

The biggest mistake we made is that we conflated operating and operation mode.

Last October, when I was a Home Assistant neophyte (but not a home automation neophyte) I raised this very issue in this thread:

I used MQTT HVAC and was perplexed by the History Chartā€™s insistence to graph the operation mode (heat/cool/off) as opposed to the operating state (heating/cooling/idle). Thatā€™s not very useful and, as a Home Assistant newbie, I felt I mustā€™ve configured something incorrectly. But no, it was a long-standing issue with the underlying climate component.

I looked at the source code of other climate platforms and learned it was left to the componentā€™s author to decide which one of the two (the mode the thermostat is set to use versus what itā€™s currently doing) would represent the componentā€™s state property. The History Chart graphs the componentā€™s state property (keep this in mind, it will be important in a moment).

Anyway, this arrangement did not meet my concept of a proper History Chart so I created a custom version of MQTT HVAC and have upgraded it several times since October 2018 (to keep up with Home Assistantā€™s changes).

Fast forward to the present, and the ā€˜Climate 1.0ā€™ initiative has addressed this issue. The climate component now has a clear separation of ā€˜church and stateā€™ operation mode and operating state. The climate componentā€™s state property represents the operation mode (auto/heat/cool/off, etc) whereas a separate attribute represents the operating state (heating/cooling).

HOWEVER, there was one little oversight in 0.96.0. Remember when I said the History Chart graphs the climate componentā€™s state property? Well, it continues to do so in 0.96.0. That means itā€™s graphing the operation mode, not the operating state. Ooops!

That little bug was corrected in 0.96.1. There was also another bug corrected, specific to the Honeywell integration in 0.96.2. You should upgrade to the latest available release which is currently 0.96.2.

1 Like

Thank you for the quick response!!!

I did the update to 0.96.2. That fixed half the problem. The operation mode is no longer flood-filling the entire space under the line in the history-graph card in Lovelace. Yeah!!

Butā€¦ Now thereā€™s NO indication of the operating state. Prior to 0.96.0, there was a filled-in vertical bar representing when the thermostat was actually calling for heating or cooling. The width of the bar indicated the duration; in other words, it started filling under the temperature line when the thermostat clicked ā€œonā€ and stopped when it clicked ā€œoff.ā€ I wish I had a picture, itā€™s hard to explain. But it worked perfectly before 0.96.0, so maybe Honeywellā€™s implementation played well with the old way, but not the new, improved way.

Hereā€™s what it looks like now. Earlier this morning Iā€™d turned the cooling setting down for some testing I was doing, and you can see on the graph how the ā€œtarget temperatureā€ (green) went below the ā€œcurrent temperatureā€ (red.)
image
But thereā€™s no indication when the operating state changed to call for cooling, which itā€™s done many times during the time shown on this graph.

I believe what you are referring to is the shaded area that represented when the HVAC system was actively heating/cooling (i.e. doing actual work as opposed to being idle).

Hereā€™s a screenshot of my thermostat which is running my custom version of MQTT HVAC (in 0.89). The green shaded area indicates when the AC ran this morning.

If youā€™re not seeing this shaded area in 0.96.2 then I can only assume that there is still a bug somewhere because ā€˜Climate 1.0ā€™ was supposed to sort this out. You may need to report this an Issue (in GitHub).


My guess is that the previous version of the Honeywell climate component, stored its operating state (thatā€™s when itā€™s actively heating or cooling) in the climate entityā€™s state property. The History Chartā€™s code was designed to graph the entityā€™s state (it looked for heat or cool). Therefore the chartā€™s shaded area represented when the HVAC system was actively heating/cooling.

Like I said earlier, before the advent of Climate 1.0, not all climate platforms worked this way. For example, the MQTT HVAC platform stored its operation mode (heat/cool/auto/off) in the state property. Therefore the shaded area in its History Chart showed when the HVAC system was in heat or cool mode (which is not particularly useful).

There were several attempts last fall to change MQTT HVACā€™s behavior and have it save its operating state, not its mode, in its state property. All the PRs were rejected because there was a desire to re-design the entire climate component and the long-term vision was to have the state property hold the operation mode. I think it shouldā€™ve been the other way around but as long as the two parameters are understood to be different, and stored separately, the rest is just semantics.

So here we are in the summer of 2019 and Climate 1.0 has been released. The operation mode is stored in the state property and the operating state is stored in a separate attribute. The History Chart graphs this attribute. If the Honeywell climate component isnā€™t behaving this way then there must a bug.

Yes! Thatā€™s exactly what I meant, thank you for posting the graphic.

I think youā€™re right about the cause, too. On my system, the ā€œstateā€ currently shows ā€œcoolā€ even though the thermostat is idle (not calling for heating or cooling.) And since itā€™s Honeywell, I should add that itā€™s been that way for at least 15 minutes, so itā€™s not just because the Honeywell server is only checked every six minutes or whatever.

Iā€™ve never reported an issue before. Where would I go for this?

Hereā€™s what I see under Developer Tools / State for this thermostat:

Yeah, thatā€™s what I meant when I said ā€œI think it shouldā€™ve been the other way aroundā€. The state should indicate the HVACā€™s systemā€™s current operating state (What is the device doing at this very moment?) and the operation mode shouldā€™ve been relegated to an attribute. It allows me to have the thermostat what I want to see at a glance (is it heating/cooling/idle).

Screenshot%20from%202019-07-21%2012-12-07

FWIW, itā€™s possible it was done this way (state = operation mode) because of other needs, perhaps for a more seamless integration with voice assistants. :man_shrugging:

Create a GitHub account and then go here to create a New Issue.

I posted the issue: https://github.com/home-assistant/home-assistant/issues/25578

Thanks!! Good write-up!

I see itā€™s been closed already, with a note to post it somewhere else. :roll_eyes: Good thing I didnā€™t try, Iā€™d never have been as complete and succinct as you were, and I would never have been able to guess the right location to post it.

I hadnā€™t been running the heat or cooling until the past few days, when I noticed the shading is still missing, although all the other problems introduced in 0.96 seem to be resolved.

For good reason because the Issue was for a custom climate platform called SmartIR.

  - platform: smartir

Issues posted to the repo are meant to refer to Home Assistantā€™s main source code, not someone elseā€™s source code.

Although Honeywell and SmartIR climate components may share a common symptom (history chart graphs the wrong parameter) they may not share the same root cause. Even if they do, the correction may need to be applied to each oneā€™s code (by different developers).

This same issue also appears at my Generic Thermostat.

Prior to 0.96 I had the green shade in the graph. After upgrading to 0.96 there is no green shade anymore.

I commented to the closed issue, no idea if someone reads it over there.

Maybe we need to open a new issue, because I think it is something in the Home Assistant Climate component, and not depending on the platform.

My code:

climate:
  - platform: generic_thermostat
    name: Ventilatie Receptie thermostaat
    heater: switch.ventilatie_receptie
    target_sensor: sensor.ventilatie_receptie_temperatuur_min
    ac_mode: true
    target_temp: 22
    initial_hvac_mode: "off"

Maybe we need to open a new issue, because I think it is something in the Home Assistant Climate component, and not depending on the platform.

It would be best to open a new issue imo

Anybody comfortable doing that? Iā€™ve never done one before. After seeing the other one get closed so quickly because it was in the wrong place, Iā€™m quite sure Iā€™d screw up something and get the same result.

I was hoping someone whoā€™s done it before and knows how would be willing to give it a shot.

Still not working in 0.97.0, did anyone open an issue?

There is one here:

But it has been opened in HA backend repository. I think that itā€™s a frontend issue.

Just to close the loopā€¦ I had to run the heat the other day (ug!!) and itā€™s fixed!

The issue (linked above) now shows others reporting that itā€™s fixed with version 0.99.2. Iā€™m at 0.99.3, but havenā€™t needed heat or air conditioning for a while, so I didnā€™t notice.

Now itā€™s fall, and the problem is back. But only on two of my three thermostats. The other one looks like it is working. Here is the working one, and one non-working one:
Thermostat_Example_2

Note the green vertical bars on the ā€œ1st Floorā€ graph. Those appear when the thermostat is calling for heat. Itā€™s not that cold out yet, so it doesnā€™t stay on for long. On the far right is the widest bar, when the thermostat went from 62F to 68F, so the heat had to run for a while to recover.

Note the lack of any green bars for ā€œGuest Room.ā€ I know that the heat came on several times, and there should be a wide bar at 8PM when the thermostat called for heat to raise the temp from 64F to 65F, and again just now when I cranked it up to 66F.

I also confirmed that the hvac_action attribute does change to ā€œheatingā€ at the appropriate times for both thermostats.

The only difference I can see in the way the two thermostats appear in Developer Tools / States is that the 1st Floor controls the air conditioning, too, so it has the following attributes:

Could it be that the shaded area in the graph isnā€™t based on the hvac_action?

For example, there is also a fan_action attribute. That attribute is null for the the thermostat which only supports heating (hydronic baseboards; no fan) but it does (incorrectly) show up as ā€œrunningā€ on the one which also can control the air conditioner in summer.

If this was the attribute chosen to draw the shading, Iā€™d call that flat-out wrong.

The fan is not an indication of the action of the heating or cooling system. Some systems, like my heating system, have no fan. Itā€™s also possible to run the fan continuously, whether the system is cooling, heating or just circulating air. And even if the fan mode is set to ā€œauto,ā€ most systems run the fan for a while after the heating or cooling has stopped.

Is there any way to check which attribute the shaded area is showing?