Giter Club home page Giter Club logo

Comments (18)

mcormick avatar mcormick commented on July 19, 2024 12

Not a solution, but to turn headings off in the card config:

layout:
  mode:
    headings: false

or just toggle off the slider Show mode headings? in the Card Configuration visual editor.

from simple-thermostat.

B1ackCr0 avatar B1ackCr0 commented on July 19, 2024 9

SOLVED

I too had this issue:

prepost

I looked at some of the available configuration options and had the idea of using '_name:' under the "preset" heading and it worked:

postpost

Mike

from simple-thermostat.

prolife86 avatar prolife86 commented on July 19, 2024 1

Thank you! @alienatedsec !

Solved it by adding "control" and "hvac" (to keep operation in there, else "operation"disappears and only shows presets):
my current code:

type: custom:simple-thermostat
entity: climate.toon_thermostaat
control:
  hvac: false
  preset:
    _name: Preset Mode

from simple-thermostat.

finder39 avatar finder39 commented on July 19, 2024 1

@fila612 handle those like this:

      - type: 'custom:simple-thermostat'
        entity: climate.mjolnir_hvac_climate_system
        name: Climate
        control:
          hvac:
            'heat_cool':
              name: "Heat/Cool"
          preset:
            _name: Preset Mode
            'normal':
              name: 'Normal'
            'defrost':
              name: 'Defrost'
            'week_program_1':
              name: 'P1'

from simple-thermostat.

acshef avatar acshef commented on July 19, 2024

This was caused by this Home Assistant frontend commit: home-assistant/frontend@0e70b86
Here's the line that got removed: home-assistant/frontend@0e70b86#diff-e67939fd25c650222db710f18764d10ae69454b0e8ad680f5e10177c2db93ceaL155

from simple-thermostat.

lesourcil avatar lesourcil commented on July 19, 2024

Same issue

from simple-thermostat.

roycwalton avatar roycwalton commented on July 19, 2024

Same issue running 2023.01.04 HA.

from simple-thermostat.

acmeGR avatar acmeGR commented on July 19, 2024

Same issue Home Assistant 2023.1.2

from simple-thermostat.

Scoff123 avatar Scoff123 commented on July 19, 2024

Does anyone know if this issue has already been raised on the Home Assistant frontend issues list? I had a look through but couldnt see it but may have missed as there are a few!

from simple-thermostat.

acshef avatar acshef commented on July 19, 2024

@Scoff123 I don't know that it's an "issue" on the Home Assistant side, per se. Home Assistant is working towards moving translations away from the frontend and over to the backend -- Simple Thermostat is just piggybacking on the frontend translations. This is a growing pain as Home Assistant consolidates their translations paradigm.

from simple-thermostat.

davel4wa avatar davel4wa commented on July 19, 2024

Same problem in HA 2023.1.7.

from simple-thermostat.

prolife86 avatar prolife86 commented on July 19, 2024

SOLVED

I too had this issue:

prepost

I looked as some of the available configuration options and had the idea of using '_name:' under the "preset" heading and it worked:

postpost

Mike

Hi Mike,

For me this does not work, it does nothing:

type: custom:simple-thermostat
entity: climate.toon_thermostaat
preset:
  _name: Preset Mode

As soon as I do an ident in front of it, it breaks:

type: custom:simple-thermostat
entity: climate.toon_thermostaat
  preset:
    _name: Preset Mode

Results in:
Configuration errors detected:
bad indentation of a mapping entry (3:9)

1 | type: custom:simple-thermostat
2 | entity: climate.toon_thermostaat
3 | preset:
-------------^
4 | _name: Preset Mode

from simple-thermostat.

alienatedsec avatar alienatedsec commented on July 19, 2024
type: custom:simple-thermostat
entity: climate.toon_thermostaat
preset:
_name: Preset Mode

Wrong indent then. You need to be pedantic about your format and the order it comes. Not always but worth doing it right.

An example of working indent:
image

An example of not working indent:
image

from simple-thermostat.

fila612 avatar fila612 commented on July 19, 2024

short question: what about the preset itself? I have a wth-2 with following presets:
preset_modes:

  • boost
  • none
  • week_program_1
  • week_program_2
  • week_program_3
  • week_program_4
  • week_program_5
  • week_program_6

can I change these names into shorter names?

from simple-thermostat.

fila612 avatar fila612 commented on July 19, 2024

perfect! Thank you so much :)

from simple-thermostat.

scstraus avatar scstraus commented on July 19, 2024

I'm having the same issue except for on the sensors: section as below. Any ideas?

    - type: custom:simple-thermostat
      entity: climate.entrance
      step_size: 0.5
      header: false
      sensors:
        - attribute: preset_mode
          name: Mode

image

from simple-thermostat.

xiangboshihub avatar xiangboshihub commented on July 19, 2024

thanx!
f157a9b6bbd3f96b759d63b7ea8f657

from simple-thermostat.

alienatedsec avatar alienatedsec commented on July 19, 2024
  • type: custom:simple-thermostat
    entity: climate.entrance
    step_size: 0.5
    header: false
    sensors:
    - attribute: preset_mode
    name: Mode

it has to be _name: Mode not name: Mode

@scstraus

from simple-thermostat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.