Lovelace: Simple thermostat card

Read some of the few posts above yours.

Card is currently broken on HA 0.96; however, there is a PR that will correct the issues once accepted (or you could try the changes posted above by third parties).

Well I’ve noticed they do show up on my tablet but not on my phone or on my pc. Strange…

can you please send a link to the PR?

OK now the bottom buttons show up on my PC using chrome and on my tablet using Kiosk. It doesn’t work on my phone using Hassio apk.

https://github.com/nervetattoo/simple-thermostat/files/3445415/simple-thermostat.zip

However, I suggest waiting for official release as there still might be issues.

Certainly not trying to be ungrateful, as you’ve created such a solid, custom thermostat card - but am wondering if you have a rough approximation on when the official .96.x compatible version will be complete?

I’ve personally been holding off on the .95 -> .96 upgrade waiting on this card as the last incompatible piece.

Again, super appreciate the hard work to date - I’m simply trying to get a rough release time frame so I can judge if I should wait, or just upgrade to .96.5 and switch back to ‘default’ HA thermostat card until you’re able to find time to update officially.

Thank you!

Hooray! Saw the update and upgraded to HA .96.5 and version .26 of this awesome card - now working my way through the breaking changes. Good times.

Anyhow, regarding this card, I used to use this code:

          icon: 
            idle:
            cool: mdi:air-conditioner
            heat: mdi:fire

This would only then show the icon on the card when the state (.95 and before) of the climate sensor would change - which was a great quick glance if the system was running.

Now, this has been moved from the climate.xxx sensor’s state to the hvac_action attribute.

So my question is then is there a way to display the icon as I was doing previously based on the hvac_action attribute of the climate sensor?

This is why the .26 is marked as a pre-release of .26. I just wanted to quickly get out fixes for the basics so ya’ll could have working thermostats again. Will need to dig into where state is used that should be superseded by hvac_action, like for state/action matching for icons.

2 Likes

Hey there,

I tried the pre-release .26 as my first step with simple-thermostat.

My card looks like this:

image

The code is:

type: 'custom:simple-thermostat'
entity: sensor.ieq0171822_temperature
modes:
  some_mode: false
  another_mode:
    include: false
  'off':
    name: Make it cold
    icon: 'mdi:hand-right'
  'on':
    name: true
    icon: 'mdi:whitewalker'
sensors:
  - entity: sensor.ieq0171822_humidity
    name: Luftfeuchete
  - attribute: min_temp
    name: Min temp
step_size: 0.5


Do you have a hint for me, what’s going wrong here? There are no buttons and the N/A looks strange, too

I do believe that entity here should be pointing to a climate entity not a sensor, the one you configure with whatever climate platform/plugin you’re using?

my card code looks like this:

entity: climate.office_ac
hide:
  temperature: false
modes:
  auto:
    name: Auto
  cool:
    name: Cool
  dry: false
  fan:
    name: Fan
  heat:
    name: Heat
  'off':
    name: 'OFF'
step_size: 1
type: 'custom:simple-thermostat'

and in configuration.yaml

climate:
    - platform: smartir
      name: Office AC
      unique_id: office_ac
      device_code: X
      controller_data: X.X.X.X
      temperature_sensor: sensor.purifier_temperature
      humidity_sensor: sensor.purifier_humidity

Hope this helps…somehow… :wink:

is the issue with missing icons solved?

Is there any way to specify that this card defaults to “Cool” mode after a reboot?

Thanks, Richard

Still doesn’t work well for me. I click up or down and it goes right back to the last temperature it was set at. Using Sensi via Wink. Hasn’t worked for quite some time.

hello,
How can i add the thermostat to my hassio ui.

i don’t understand how to do.
do i paste the text in configuration.yaml?

What all has changed in .26 ?

With the modified .25 it was workign fine even with HASS 0.96+

But with 0.26 I am getting no buttons on the card.

This is my card config:

entity: climate.eurotronic_eur_spiritz_wall_radiator_thermostat_heat_3
sensors:
  - entity: sensor.thermostat_bedroom_battery
    name: Battery
step_size: 0.5
type: 'custom:simple-thermostat'
modes:
  Full Power:
    include: false
  Heat Eco:
    include: false
  Manufacturer Specific:
    include: false
  'Off':
    include: true
  Heat:
    include: true

0.25:
25
0:26
26

Could you share the attributes for the climate device from Developer Tools → States?

Sorry @nervetattoo

I am an idiot :slight_smile:
I started to play with HACS custom and it installed the original unmodified version 0.25 and I did not notice, I thought automatically of 0.26.

I updated manually and it seems to work as it should.

Sorry once again :flushed:

Thanks for all your hard work on this plugin @nervetattoo I am guessing your working on finding some time to fix the issue with the missing buttons

image

You never really know how much you love / need this new functionality added until its gone!

Let us know when you have figured out the issue!

1 Like

climate.guest_bed off hvac_modes: fan_only,dry,cool,heat,heat_cool,off
current_temperature: 23
min_temp: 7
max_temp: 35
target_temp_step: 1
temperature: 22
fan_mode: 2
fan_modes: Auto,Silence,1,2,3,4,5
preset_mode: none
preset_modes: away,none
swing_mode: Horizontal
swing_modes: 3D,Horizontal,Off,Vertical

friendly_name: Guest Bed
supported_features: 57
climate.lounge off hvac_modes: fan_only,dry,cool,heat,heat_cool,off
current_temperature: 24
min_temp: 7
max_temp: 35
target_temp_step: 1
temperature: 23
preset_mode: none
preset_modes: away,none
friendly_name: Lounge
supported_features: 17

Upgraded to 0.26 and it fixed the problem :smiley:

Not sure why it wasn’t an option before… but all fixed now.