Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Climate operation code has appeared after HA update #400

Open
gabi1324 opened this issue Sep 8, 2023 · 14 comments
Open

Climate operation code has appeared after HA update #400

gabi1324 opened this issue Sep 8, 2023 · 14 comments
Labels
bug Something isn't working

Comments

@gabi1324
Copy link

gabi1324 commented Sep 8, 2023

Describe the bug
After the 2023.9.0 HA update, the card has been showing "ui.card.climate.operation"

Expected behavior
"ui.card.climate.operation" shouldn't appear.

type: custom:simple-thermostat
entity: climate.living_room
header:
  toggle:
    entity: switch.living_room_ac_jet_mode
    name: Jet
step_size: 1
sensors:
  - entity: sensor.living_room_sensor_temperature
    name: Temperature
  - entity: sensor.living_room_sensor_humidity
    name: Humidity
hide:
  temperature: true

Screenshots
SmartSelect_20230908_172003_Home Assistant

Browser

  • OS: Android
  • Browser: Mobile app
  • Simple Thermostat version from browser console: 2.5.0
  • Home Assistant version: 2023.9.0
@gabi1324 gabi1324 added the bug Something isn't working label Sep 8, 2023
@pergolafabio
Copy link

Yes, I have the same issue, not sure why this is happening...

@automaton82
Copy link

Same issue, but for mine the state is undefined

Screenshot_20230908_195452_Home Assistant

Yaml:

cards:
  - control:
      hvac:
        heat_cool: false
    version: 3
    sensors:
      - entity: sensor.z_wave_thermostat_humidity_2
        template: '{{state.text}}%'
        label: RH
    type: custom:simple-thermostat
    header:
      name: Thermostat
      icon:
        cooling: mdi:thermometer-minus
        heating: mdi:thermometer-plus
        idle: mdi:thermometer-lines
        'off': mdi:thermometer-off
        auto: mdi:thermometer
    entity: climate.z_wave_thermostat_3
type: vertical-stack

@MEKadan
Copy link

MEKadan commented Sep 10, 2023

Hmmm... Tried to disable "Show mode headings"?

@pergolafabio
Copy link

Is that an option on the card?

I still dont get why 2023.9 update can cause an issue on this card ?

@pergolafabio
Copy link

that option indeed removes everyhing :-) , good enough for now

image

          - type: custom:simple-thermostat
            entity: climate.weau
            layout:
              step: row
              mode:
                headings: false
            header: false

@MEKadan
Copy link

MEKadan commented Sep 10, 2023

Is that an option on the card?

I still dont get why 2023.9 update can cause an issue on this card ?

Bit later reply, you seem to have found it already, but yes, its there:

image

In yaml this should be enough:

image

Suits to me, I like it more compact, like this

image

@pergolafabio
Copy link

It's indeed a workaround , but not a fix for the issue :-)

@MEKadan
Copy link

MEKadan commented Sep 10, 2023

It's indeed a workaround , but not a fix for the issue :-)

So it is, but doesn't bother me, because I wouldn't be using those headings anyway :)

@ronaldheft
Copy link

You can set the heading title with:

control:
  hvac:
    _name: "Mode"

For example:
SCR-20230911-koyu

- type: custom:simple-thermostat
  entity: climate.ecobee_main_floor
  header: false
  decimals: 0
  step_size: 1
  label:
    temperature: Currently
  control:
    hvac:
      _name: "Mode"
      "off":
        name: "Off"
      "heat":
        name: "Heat"
      "cool":
        name: "Cool"
      "heat_cool": false
    preset:
      _name: Preset
  sensors:
    - entity: sensor.ecobee_main_floor_humidity
      name: Humidity

@pergolafabio
Copy link

no, that still gives the label

@ronaldheft
Copy link

Did you clear your browser cache?

@pergolafabio
Copy link

yes, also tried incognoto
tried below like your suggestion:

The mode heading to false, then it works, but its more compact then

          - type: custom:simple-thermostat
            entity: climate.weau
            layout:
              step: row
              # mode:
                # headings: false
            header: false
            hvac:
              _name: "Mode"
              "off":
                name: "Off"
              "heat":
                name: "Heat"
              "cool":
                name: "Cool"
              "heat_cool": false
            preset:
              _name: Preset

image

@pergolafabio
Copy link

ok, this fixed it

          - type: custom:simple-thermostat
            entity: climate.weau
            layout:
              step: row
              # mode:
                # headings: false
            header: false
            control:
              hvac:
                _name: Operation

@NonaSuomy
Copy link

NonaSuomy commented Oct 31, 2023

Thank you that worked for Nest as well.

#Nest

type: custom:simple-thermostat
entity: climate.dining_room
layout:
  step: row
header: false
control:
  hvac:
    _name: Operation
    "off":
      name: "Off"
    "heat":
      name: "Heat"
    "cool":
      name: "Cool"
    "heat_cool":
      name: "Heat & Cool"
  preset:
    _name: Preset Mode
    "none":
      name: "None"
    "eco":
      name: "Eco"
sensors:
  - entity: sensor.dining_room_humidity
    name: Humidity

image

Any idea how to capitalize State: idle (heat) etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants