Lovelace: Simple thermostat card

I don’t think it is possible directly by Simple Thermostat parameters.
You need to use card-mod plugin. Then it is easy.

I had the same need, to make the card smaller at tablet dashboard:

It is possible @TriStone

It’s all in the readme on github: https://github.com/nervetattoo/simple-thermostat/blob/master/README.md#css-vars-for-theming

Thanks for the reply @Vasco I am still learning so not familiar how to implement the themes into the card? Is there any easy way to do that?

Thanks for the reply @TriStone . I have installed card mod and tried that, it just doesn’t seem to do anything for me. I am not sure if it is because it is within the stack card or not

Hi @Vasco , yes it is described there.

But it is not a in-place parameter for card configruation. You have to incorporate the variables into theme.
So to use them directly for a card, you need card-mod. As it is stated directly at the link :slight_smile:

@DrSpaldo how did you installed card-mod? Manually or via HACS?

Installed it via HACS

I’ve installed the new version 0.34.1 today and wanted to use the new feature step_layout: row
but nothing changes
cleaned my browser cash but it still is not in the compact mode

AC_card

How can change the names of fan modes, I would like to capitalize first letter?
How to add icons to fan modes?

This is my card:

cards:
  - control:
      _headings: false
      fan: true
      hvac: true
    entity: climate.home_theater_ac
    hide:
      mode: false
    icon:
      'off': 'mdi:circle'
    modes:
      low:
        name: Low
        icon: 'mdi:power'
    name: AC Living room
    sensors:
      - entity: sensor.purifier_humidity
        name: Humidity
    step_size: 1
    style: |
      ha-card {
      background: rgba(0, 0, 0, 0.5)
      border-radius: 15px;
      --primary-text-color: rgb(232, 234, 236);
      --secondary-text-color: black;
      --paper-item-icon-color: black;
      --st-mode-background: rgba(0, 0, 0, 0.25);
      }
    type: 'custom:simple-thermostat'
type: horizontal-stack

You need to set control.fan.low.name = Low but you’ve set modes.low.name in your configuration here.
The modes key were removed and replaced with control a few releases ago.

1 Like

Thanks for the input but for the love of god, I can’t get it to work.
If I understood you correctly (please correct me if I’m wrong) the name should be changed like this:

control:
  fan: true
    low:
      name: Low

But this throws an error about indentation, when I put this in card:
bad_indentation

What am I doing wrong? I have the latest version installed - 0.34.1

I’m not sure, but

fan: true
  low:
    name: Low

doesn’t seem as valid YAML to me, try removing the true value after fan:

fan:
  low:
    name: Low
  mid:
    name: Mid
  high:
    name: High
1 Like

That’s it! I have used…

fan: true

…to enable the fan speed row of buttons, it didn’t occur to me that if I set additional values, the ‘true’ statement would be causing an error.

Thank you.

Does anyone know if there is a way I can write a line of text where the sensors are on the side? I just want to put the name of the card there and remove the huge heading

Just wanted to say thank you for the card! I made some tweaks to make it more like the default thermostat card without the round slider. Much appreciated.

Combined with vertical-stack-in-card and mini-graph-card:

3 Likes

how can I translate the word “state”

Check the label config in the documentation

@nervetattoo
Thank You for the effort in making this card.
Here is my question:
I have several Xiaomi aquara thermometers, (which work suprisingly well), and some of plain Ikea switches with simple oil heater attached to it. The tricky part is how to integrate these into this card to make room temperature adjustible. Schema woul go as one thermometer with respective switch which would simply turn on or off that, (or any other given), heater.
Better question would be, what do I need to put in my card as setup.
for now it looks as follows:
’ ’ ’

control: false
entity: switch.ikea_of_sweden_tradfri_control_outlet_802a20fe_on_off
icon: false
name: false
sensors:

  • entity: sensor.lumi_lumi_weather_08f82203_temperature
    step_layout: row
    switches:
  • switch.ikea_of_sweden_tradfri_control_outlet_802a20fe_on_off
    type: ‘custom:simple-thermostat’
    ’ ’ ’
    but I cannot control this instance through
    Any idea?

thank You in advance

You need to setup a Generic Termostat first that you can control with the card.

1 Like

Thank You, that was exactly piece of puzzle that I could not find in any of tutorials, (at least those that I have read/watched).
That, as well, might be added to repo of this card, so everyone who wants this card will know exactly what to do, (specially if the one is noob as I am myself int Home Assistant)

1 Like

Now, I have another question.
Knowing that configuration, (one where I start with dumb on/off switch, simple thermometer and configured generic thermostat), I cannot see any other presets than “none”, (which I do not know how to call from debug console), and “away” which I can define and call easily.
So,
How do I define more presets, or use existing ones if there is in generic thermostat?

Hi

Trying to uderstand what I do wrong. I have an mqtt thermostat, with iformation coming via an insteon device. I can’t display any operation/mode, only preset.

I miss something, but can’t find any solution. I do include the relevant details, anyone would have a clue on my problem.

Thank for any help
Screenshot_2020-03-09_17-40-35 Screenshot_2020-03-09_17-41-34