Dual Thermostat Card

Figured it out, reflashed, rewrote and magically it fixed itself. Thanks again for the card!

@edwardreed81 Were you able to figure something out? This might be related to thermostat, 3 persons with similar issues and same thermostat. See open issue on GitHub.

GitHub Issue

Nope, I gave up on my zwave thermostat and reinstalled the Nest I had. I like the idea of keeping everything local, but I donā€™t have the energy to fight with this stuff.

Thanks for the reply! No, itā€™s not a problem with the thermostat sending data back to HA.

I created two standard thermostat cards ā€“ one for the cooling entity, and one for the heating entity of the same thermostat. When I change the target temperature on the physical thermostat, they both show the new number. (I.e., the heating card shows the correct heating target temp, and the cooling card shows the correct cooling target temp.)

But on the dual-thermostat card, the new target temperature only gets updated for cooling (or whichever entity is listed first). If the thermostat is in heating mode, the target temp doesnā€™t update on the card, since cooling is listed first. So I think itā€™s a problem with the dual-thermostat card.

@enriqg9 I have a feature request. Is there any chance you could make it possible to add a humidity reading onto this card? A while back I was able to look at the code to add in that min/max slider option, but Iā€™m looking at it now and I canā€™t wrap my head around it enough to be able to add in a value from a sensor.

Hi!

My thermostat supports the operation modes Energy Heat, Heat, Cool and Off, but I only have the entities climate.thermofloor_as_heatit_thermostat_tf_021_energy_heat and climate.thermofloor_as_heatit_thermostat_tf_021_heating available to configure, so I guess the only modes the thermostat actually supports is Energy Heat and Heat (in addition to Off, of course). How would this dual thermostat card handle this - as ā€œCoolā€ doesnā€™t take as a valid operation mode?

The operation modes are rendered from the first entity, some thermostats define all modes on both entities.

Im new at this can somone tell me why I only have AC not Heat. there is only a snowflake not a flame. I thought this was a dual thermostat. please help

Show us what u have done so far

I put the dual-thermostat.js in the www/local/dual-thermostat/
this is my ui-lovelace.yaml

resources:

  • name: dual-thermostat
    type: js
    url: /local/dual-thermostat/dual-thermostat.js?v=1
    title: Home
    views:
  • cards:
    • entities:
      • entity: climate.upstairs_ac
        type: cool
      • entity: climate.upstairs_heat
        type: heat
        min_slider: 50
        max_slider: 90
        name: Upstairs
        type: ā€œcustom:dual-thermostatā€
        fan_control: false
        icon: ā€˜hass:home-assistantā€™
        id: home
        title: Home
        type: vertical-stack

upstairs

This is one single thermostat that defines 2 entities correct? Check what modes are defined by your thermostat on each entity. The card will grab the available modes from the first provided entity.

I thought it was 2 entities that shows up this is what I think is should look like
dual-thermostat
It should have fire and snow flake but it doesnā€™t
mineā€¦
upstairs

If your climate.upstairs_heat and climate.upstairs_ac are not the same device with 2 entities, this is not the card for you.

1 Like

Great stuff. any way to show current mode in auto, something like Auto: Heat or Auto: Cool?

Not currently supported, sorry.

Iā€™m not familiar with Zones but the actions look good to me, try setting operation_mode to ā€˜autoā€™ if supported by your thermostat.

Has this functionality been replicated with the 0.96 update? It looks like they have the option of having a temperature range on the built in climate card with that release.

No, the purpose of this card is that the climate devices are split into a heating entity and cooling entity.

The devices that utilize this card while in heating mode only allow set points via the heating entity and vice versa.

@enriqg9

I took the plunge and updated to the .96 release and the cards arenā€™t showing up at all. Any ideas what might be causing that? Iā€™m guessing itā€™s related to the updates to the climate component.

Iā€™m not on 0.96 yet Iā€™ll try to update tomorrow and debug.

3 Likes