Lovelace: Simple thermostat card

Ho can I fix the mobile issue?
Displays properly in computer / tablet, not that nice on mobile up.
Sin the column format make the card too bulky.
I tried card mod in the past, but it didn’t have any effect on the iOS app


+1
Same question here: How to get rid of the additional hvac mode
image

At the moment you can’t, this attribute is shown as it is shown in the HA Core climate-card. It would need some programming to disappear. I suggest you create a feature request in the github.

A new beta release is out with an entirely new way to deal with sensors by using templates.
Would love feedback on, well, everything about it :smiley:

See the Github release and the documentation for the new format

You can’t combine old/new sensor configs, thus specifying the version. The old format for sensors will be removed in the future at some point as this approach is far more flexible and actually in a sense simpler on the code side for the card as well.

(Oh, yes, it allows you to fix your issue @nightfever @spider7611 )

3 Likes

Hello. I was intrigued that it is possible to create your own card in Lovelace. I would like to ask if it is possible to create more advanced cards, such as the attached picture. So that the buttons on the display are interactive and can switch thumbnails with other functions. Thank you

2 Likes

For interactive buttons, look here: Lovelace: Button card

If the button card can be implemented in the image card so that there are more button cards on one image card, then it might be possible, but I strongly doubt that. I don’t think it’s possible.

Off topic for this thread, but yes you can develop as crazy complicated and uniquely looking cards as you want if you want to build a completely custom card.
There is a getting started documentation over here if you know your JS+HTML+CSS.

Hi everyone, I am stucked at the very begnning use of Fully Kiosk Browser on Huawei Mediatab T3 with this Simple thermostat card, it looks like it doesnt recognize the card that anyway is correctly displayed on a PC browser.
Anyone can advice me how to fix it? It looks like an old issue, can’t find much info about

image

I came here to ask the exact same thing. Ha!

See message Lovelace: Simple thermostat card - #651 by nervetattoo

@nightfever @tmchow

I’ve made it work, using version 3:

            sensors:
              - label: State
                id: state
                template: "{{hvac_action}}"

This was a slightly better way that handles localizations too.

sensors:
  - id: state
    label: State
    template: '{{hvac_action|translate(''state_attributes.climate.hvac_action.'')}}'

Is there a way to hide the preset mode but keep the operation mode?

Remove preset section from your config.

Thanks but I do not have a preset section in my config. Code:

  - type: 'custom:simple-thermostat'
    entity: climate.boiler
    layout:
      mode:
        headings: false
      step: row

Add this on the same ‘level’ as layout

control:
  hvac:

Mine looks likr this:

type: 'custom:simple-thermostat'
entity: climate.trv_salon
sensors:
  - entity: sensor.trv_salon_valve
    name: Valve
step_layout: row
control:
  hvac:
    'off':
      name: null
    heat:
      name: null
    auto:
      name: null
  preset:
    none: false
    away: false
    schedule:
      name: Schedule
    manual:
      name: Manual
    complex: false
layout:
  mode:
    headings: false
  step: row

Correction, to this:

control:
  hvac: true
1 Like

This worked. That’s great, thanks!