Lovelace: Simple thermostat card

the temperature control i meant :slight_smile:

thanks! appreciated!

Hi,
It’s possible to dinamically change the actual temperature given from the climate entity?
I mean, i will create an input select with 4 thermostat, when i select one fo them, i want that the actual temperature will be used from it.
I think when i change it, it’s not changed at the card.

Thanks @nervetattoo for this awesome card.
I’m a complete HA noob but managed to get it working after spending some time learning my dumb IR codes using a Broadlink RMC4 Mini.

I was just wondering if anyone else had experienced this issue when using the up/down arrows, the target temperature displays a 3 digit number (see below). I’ve configured the card to not show any decimal as my AC only supports 1 degree increment

Screen Shot 2020-12-17 at 4.45.32 pm

type: 'custom:stack-in-card'
mode: vertical
cards:
  - type: 'custom:simple-thermostat'
    name: Master A/C
    entity: climate.master_ac
    icon: 'mdi:air-conditioner'
    step_layout: row
    step_size: '1'
    decimals: '0'
    control:
      _headings: false
      hvac: true
      fan: true
    show_header: true
  - type: entities
    entities:
      - entity: input_datetime.master_ac_time_on
        name: 'ON'
      - entity: input_datetime.master_ac_time_off
        name: 'OFF'

I faced the same issue.
The problem is “step_size: ‘1’”

You need to update to “step_size: 1” without the ’ around the 1.
Its a problem with the Visual Editor.

1 Like

Ahh. Thanks heaps @sergio_pt. It works now!

1 Like

Hello, how can I replace the two buttons “off” and “heat” by the icons of the generic_thermostat?

Hi,

These are the color I see in my instance:

image
image

These are the colors I want to have. Any idea how to change it?

image

Thx

Following what is explained here: https://github.com/nervetattoo/simple-thermostat#css-vars-for-theming, these css entry for those are:

            --heat-color: blue;
            --cool-color: blue;
            --off-color: blue;

Assuming you want all three being blue when selected.

I am using card-mod. So in my thermostat card I have:

      style: |
          ha-card .mode-item {
            border-radius: 8px;
            background: rgba(200,200,200,0.5);
            color: rgba(120,120,120, 1.0);
            --heat-color: red;
            --cool-color: blue;
            --dry-color: grey;
          }
          ha-card .mode-item.active {
            border-radius: 8px;
            background: rgba(002,136,209,1.0);
          }
          ha-card .mode-item:hover {
            border-radius: 8px;
            background: rgba(150,150,150,0.5);
           }

Which are “my” states and colors.

1 Like

Hi,

Seems my climate is very capable of heating :)) How can I repair the display?

type: 'custom:simple-thermostat'
entity: climate.livingroom_ac
name: Daikin
decimal: '0'
step_size: '1'
hvac_modes:
  fan_only: false
  dry: false
  auto: false
ha-card-border-radius: 10px
icon: '[object Object]'
sensors:
  - entity: sensor.immax_temperature
    name: Temperatura Living
  - entity: sensor.immax_humidity
    name: Umiditate living
  - entity: sensor.openweathermap_temperature
    name: Temperatura afara
hide:
  temperature: true
style: |
  ha-card {
  border-radius: 15px;
  }
  '--st-spacing': 7px
  '--st-font-size-title': 24px
  '--st-font-size-xl': 80px
  '--iron-icon-fill-color': none
  '--iron-icon-stroke-color': '#fff'
  '--primary-text-color': '#5294E2'
  '--st-spacing': 7px
  '--st-font-size-title': 24px
  '--st-font-size-xl': 80px
  '--iron-icon-fill-color': none
  '--iron-icon-stroke-color': '#fff'
  '--primary-text-color': '#5294E2'

I want also to hide presets auto/dry/fan_only and to enlarge a bit the card in order to have name of sansor and unit of measure on same row:

2020-12-27 19_08_33-Microsoft Store

states show following

 climate.livingroom_ac 	off 	hvac_modes: off, auto, heat, cool, dry, fan_only
min_temp: 16
max_temp: 28
target_temp_step: 1
fan_modes: auto, low, medium, high, silent
swing_modes: swing, up, mid, down
current_temperature: null
temperature: 186
fan_mode: low
swing_mode: off
friendly_name: Livingroom AC
supported_features: 41

thank you

1 Like

See my comment above where this was replied :slight_smile:

2 Likes

thank you. skipped that post. can you help me with the other issues? want to hide hvac_modes. only heat and cool needed and unit of temperature to stay on same row.
also i noticed that card doesn’t keep mdi icon settings and drops every time i open the view. Although they are recognised when i open once again, the icon settings are dissapearing and I wanna see what status is climate to not turn in wrong mode.
L.E. got something ok-ish for now
2020-12-28 00_07_00-Microsoft Store

I really can’t help there, as I only have heat mode.
But I believe that the repo documentation is clear on that. I suggest having a few tries.

Regarding the icons, I believe you would need to use card-mod:

I can’t get this installed. I have installed it the recommended way (hacx).
Running a fresh Home Assistant OS install on a nuc.

Skjermbilde 2020-12-29 233819

Is there a way to change the icon color next to the Name/Room/etc at the left hand top?

Found out my own problem, had to use url: /hacsfiles/simple-thermostat/simple-thermostat.js instead. I made a pull request to update the github installation manual.

Stupid question…where is the configuration file at to make changes to the card? I want to add my humidity sensors to the card but can’t figure out where the configuration file is.

Thanks, Robert

Just add it your sensor to your thermostat card like so:

type: 'custom:simple-thermostat'
entity: climate.livingroom
sensors:
  - entity: sensor.living_temp
    icon: 'mdi:thermometer'
  - entity: sensor.living_humid
    icon: 'mdi:water'
  - entity: sensor.living_press
    icon: 'mdi:gauge'
...

Thanks, worked perfectly.