Lovelace: Simple thermostat card

How to remove the “Operation” text from the latest version?
image
It is making the buttons smaller and personally I don’t think is needed, much cleaner without it

Try this.

control:
_headings: false

1 Like

Yup, that did it, thank you.

This does not work for me

it is possible to set minimum 16 and maximum 30 temperature supported ?
i see now can free temperature so smartir give me error no support temperature.

You should specify the MIN / MAX in the SmartIR. It is property of the climate entity and thermostat jsut uses it.

Like this:

{
  "manufacturer": "Samsung",
  "supportedModels": [
    "AR**RXPX/RXWX**"
  ],
  "supportedController": "Broadlink",
  "commandsEncoding": "Base64",
  "minTemperature": 16.0,
  "maxTemperature": 30.0,

twproject add this to you card

    icon: 'mdi:home-thermometer-outline'
    unit: ' °C'

with the unit function you will get the proper unit behind the temperature :wink:

2 Likes

Thanks for the tip, it’s helpful

i have this inside smartir json code samsung 1401
but no work

“manufacturer”: “Samsung”,
“supportedModels”: [
“ARHSF/JFS
],
“supportedController”: “Broadlink”,
“commandsEncoding”: “Base64”,
“minTemperature”: 16.0,
“maxTemperature”: 30.0,

Hi to all here.
Again me.
As from today, (31. May 2020), I have error messages on simple thermostat card:
I cannot track error exactly in last week, but I have noticed it faulty today.
Anyone can hint me?
I have simple thermostat card installed, and generic thermostat working through lovelace thermostat card.

it looks like

Custom element doesn't exist: simple-thermostat.

control: true
entity: climate.dnevni
icon: false
modes:
  away:
    Odsutan: 'mdi:logout'
  komotno:
    icon: 'mdi:home'
  spavanje:
    icon: 'mdi:bed'
  turbo: true
name: Dnevni boravak
sensors:
  - entity: sensor.lumi_lumi_weather_08f82203_temperature_2
step_layout: row
type: 'custom:simple-thermostat'



My simple thermostat works but the State field is always off even thought the heater switch is in a state of ON. Does not sync with the current state of the applied switch. the Power on and Off buttons work, also the temp.

So where am I going wrong with the State field?

Used to work before I had to rebuild HA and lost some configs.
generic climate looks like this and does not show the correcy state of the switch either.

climate:
  - platform: generic_thermostat
    name: downstairs
    heater: switch.sonoff_1000907bc4
    target_sensor: sensor.sonoff_1000223a99
    min_temp: 15
    max_temp: 30
    ac_mode: false
    target_temp: 25.0
    cold_tolerance: 0.0
    hot_tolerance: 0.0
    min_cycle_duration:
      seconds: 5
    #initial_operation_mode: 'auto'
    initial_hvac_mode: "off"
    away_temp: 19.5
    precision: 0.1    
    

and simple card:

type: 'custom:simple-thermostat'
entity: climate.downstairs
step_size: 0.1

I understand how it works now. I thought that when the switch turns on or off this is reflected on the thermostat mode/state. This is not the case.

Only when I use climate.‘name’ in an automation or switch the climate platform on or off.

Is the card not taking the translated state of sensors ?

The air conditioning control is currently disabled.
The minimum and maximum temperature limit does not work!
Screenshot_34 Screenshot_35 Screenshot_36

It’s also not working for me. I’ve got the “control”-section configured to only show the presets and not the HAVC-mods. Then when I add _headings: false, my card is broken:

When I remove “- preset” under “control:” it will indeed remove the headings:

But as you can imagine, I want to only show the presets without the HAVC-modes. Is it possible to combine those two under “control:”?

equal my problem can change temperature
later update card last version i find this problem

Solved it this was:

control:
  _names: false - hvac - preset
  _headings: false

It does not solve it for me. It keeps showing both the hvac- and preset-controls. I only want to show the Preset-controls without headings. Is tis possible?

Really nice card!. I’m only having trouble getting it to work.

I’ve added this to the raw editor

resources:
  - url: /local/simple-thermostat.js?v=1
    type: module

and created a card:

- entity: climate.slaapkamer
  sensors:
    - sensor.inside_temp
  step_size: 1
  type: 'custom:simple-thermostat'

which is giving me the error “No card type configured”

I’m having trouble hiding the “target_temp_low” control.

Even though I have the operation in “Cool” mode, it shows both the target temp high which is used for the A/C setpoint, and target temp low which is used for the heat setpoint.

I’ve looked through many peoples examples, but don’t see anybody having anything extra to keep this from showing, yet only have the A/C setpoint.

image

Here is my code:

type: custom:stack-in-card
style: |
  ha-card {
    box-shadow: none; border-radius: 1em;
    background: linear-gradient(180deg,rgba(48,52,52,1) 0%, rgba(48,52,52,1) 4.8em, rgba(34,38,39,1) 4.8em, rgba(34,38,39,1) 100%); }
cards:  
  - type: entities
    title: Thermostat
    entities:
      - type: custom:simple-thermostat
        entity: climate.thermostat_1
        decimals: 0
        step_size: 1
        name: false
        icon: false
        sensors:
          - entity: sensor.current_humidity
        control:
          hvac:
            heat_cool:
              include: false