Lovelace: Simple thermostat card

Love this card but trying to add one additional bit of info.

For my climate entity climate.th6320zw2003_t6_pro_series_thermostat_mode, I would like to be able to display the fan_action attribute. Since I have the fan set to circulate mode, I would like to be able to see when it is actually running and when it isn’t.

Any help is appreciated.

This is a stupid question, but I went from YAML mode to UI mode, and copied everything over properly - the only thing not looking right is the thermostat card. It’s missing the up/down arrows to actually control the thermostat. If I click there, it works - just can’t see it.

Any ideas?

Capture

Hello folks,

I have a problem styling the simple thermostat cards. As you can see below the ‘’’setpoint’’’ attribute/control has different sizes on ipad and iphone. It does enlarge the setpoint control part also in webbrowser if I scale the window down. Any ideas why the css setting the size of font does not work?

Hi did you ever get this timer working (to show the remaining boost)
I’m trying to have it display it on my card.
Thanks

No, back then it was not possible. I don’t know if there were any changes made so that it would work now.

Thanks for the reply.
I’ve actually just found THIS and i’m trying to set it up as a small side button.

Let me know if it works!

Hiya thanks to Tom on that page I linked he created a template sensor that works as a timer when my boolean switch turns on.
I just need to linkk it to the boost button on this card now… I’ve not looked into that bit yet :slightly_smiling_face:

sensor:
  - platform: template
    sensors:
      boost_time_remaining:
        friendly_name: 'Time Remaining'
        unit_of_measurement: "min"
        value_template: >
          {% if is_state('input_boolean.boost_toggle', 'on') %}
            {{ [ (30 - (as_timestamp(now()) - as_timestamp(states.input_boolean.boost_toggle.last_changed))/60)|round(0) ,0 ] | max }}
          {% else %}
            0
          {% endif %}

wowww :heart_eyes:

what is your template of Home assistant?

Homekit card , sidebar and some yaml

Use a different theme? Your theme does not change the color of the arrows.

Did you ever figure out how to remove the multiple target temp controls?

can tell me put inside code button for swing mode in my card ?
control:
_headings: false
fan: true
swing_mode: true
hvac:
‘off’:
name: Spento
decimals: 0
entity: climate.clima_sala
icon: ‘false’
hide:
state: true
temperature: true
step_layout: row
type: 'custom:simple-thermostat

very nice - would you be able to share the code?

@DrewXT - Updated for the latest upstream version (0.42.0) on my fork here until I have a chance to do a PR back.

Card config:

type: 'custom:simple-thermostat'
entity: climate.upstairs
decimals: '0'
show_header: true
control:
  _names: false
  _headings: false

Makes it look like:

thermostat-card

2 Likes

Ahh… Stack-in-card and mini-graph-card custom cards.

Is there a way to use this without a climate device? I have a switch that I will be using to control heat (simple, on/off) based upon temperature from other sensors, but no climate device (domain). Is this possible?

Yes :slight_smile:

You can create a generic thermostat, by combining the switch with a temp sensor (different devices).
Below you can see my example that creates a climate entity:

climate:
  - platform: generic_thermostat
    name: Bedroom_Heater
    heater: switch.plug_heater # MY SMART PLUG
    target_sensor: sensor.sensor_quarto   # MY TEMPERATURE SENSOR
    min_temp: 17
    max_temp: 30
    ac_mode: false
    #target_temp: 30
    cold_tolerance: 0.5
    hot_tolerance: 0.5
    min_cycle_duration:
      seconds: 120
    keep_alive:
      minutes: 3
    initial_hvac_mode: "heat"
    away_temp: 26
    precision: 0.1

YAY! Thanks! I’ll give this a try!

Is it possible to remove the default temperature sensor from the card?