Need an idea or direction :)

Hi everyone,

Have few moes thermostats, and have an idea to make one dashboard with main info about all thermostats. In general , i’d like to see square-per-device with current temperature, min temperature and valve status (maybe like black/yellow color of the square). Can someone please suggest how to do that?

Ps. i stuck in the beginning… just understud how to make “if” with the valve status to use it in visualisation, but can’t imagine how to deal with that on dashboard…

{% if ( (state_attr('climate.zb_thermo3','valve_state') is none) or (state_attr('climate.zb_thermo3','valve_state')=="CLOSED")) -%}
--valve is closed
{%- else -%}
--valve is opened
{%- endif %}

Thank you

Have you looked at the hacs integration.

AI Thermostat for Zigbee2MQTT

Thanks for answer. Yes, i looked at this integration… It didn’t help me to do what i want…
Tried to use dual gauge. In general it is my solution, but with little change: to combine two cards somehow in one (gauge + valve status like one card)

And the code is:

type: grid
cards:
  - type: custom:dual-gauge-card
    title: 🛏 Room
    min: 10
    max: 30
    outer:
      entity: climate.zb_thermo1
      attribute: local_temperature
      label: Current
      unit: °C
    inner:
      entity: number.zb_thermo1_eco_temperature
      label: Min
      unit: °C
      colors:
        - color: var(--label-badge-green)
          value: 25
        - color: var(--label-badge-yellow)
          value: 18
        - color: var(--label-badge-blue)
          value: 0
  - type: entity
    entity: climate.zb_thermo1
    attribute: valve_state
columns: 1
square: false
title: zb_thermo1

Have you used vertical stack card? Allows you to stack multiple cards to keep in single column.

Sorry, but what is the difference? When i use vertical-stack – got the same behaviour


I need to see both blocks like one, with minimal number of spaces between gauge and valve status…

There is a vertical stack card in hacs that removes the lines.

Wow, thank you! That help me definetely