simple-thermostat icon indicating copy to clipboard operation
simple-thermostat copied to clipboard

Clicking on state and temperature

Open terba opened this issue 2 years ago • 1 comments

Clicking on extra sensors added with the sensors list works, but the default state and temperature sensors aren't clickable. Currently turning the header off makes the state history of the thermostat inaccessible, and for the temperature history I have to go elsewhere to click on the sensor there.

I would like to be able to click on this two elements.

Thanks in advance!

terba avatar Dec 10 '21 08:12 terba

Had the same issue and used a workaround:

hide:
  temperature: true
sensors:
  - entity: sensor.bedroom_temperature
    name: Temperature

I had to use a template to create a sensor from the climate entity attribute:

template:
  sensor:
    - name: Bedroom temperature
      unique_id: bedroom_temperature
      state: "{{ state_attr('climate.bedroom', 'current_temperature') }}"
      device_class: temperature
      state_class: measurement
      unit_of_measurement: '°C'

rogatty avatar Apr 07 '22 20:04 rogatty