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

Missing temperature sensor value #426

Open
emilleszczak2 opened this issue Oct 3, 2024 · 1 comment
Open

Missing temperature sensor value #426

emilleszczak2 opened this issue Oct 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@emilleszczak2
Copy link

Describe the bug
After configuring the simple-thermostat for my generic thermostat entity Temperature sensor value is missing. N/A is shown

To Reproduce

  1. Click on '....'
  2. See error

Expected behavior
To see the current value of generic thermostat target_sensor value.

- platform: generic_thermostat
  name: Sypialnia
  heater: switch.ogrzewanie_sypialnia
  target_sensor: sensor.xiaomi_temp_sypialnia_temperatura
  target_temp: 20.5
  away_temp: 20.0
  sleep_temp: 20.5
  comfort_temp: 20.5
  min_temp: 18.0
  max_temp: 23.0
  min_cycle_duration:
    minutes: 10
type: custom:simple-thermostat
entity: climate.sypialnia
show_header: true
control: false
step_size: '0.5'
name: Sypialnia
label:
  temperature: Temperatura
  state: Tryb

sensor.xiaomi_temp_sypialnia_temperatura state

state_class: temperature
unit_of_measurement: °C
device_class: temperature
friendly_name: Temperatura w sypialni

Screenshots
Screenshot 2024-10-03 at 10 57 03
Screenshot 2024-10-03 at 10 58 19

Browser

  • OS: Mac
  • Browser: Brave
  • Simple Thermostat version from browser console: v2.5.0
  • Home Assistant version: 2024.9.3
@emilleszczak2 emilleszczak2 added the bug Something isn't working label Oct 3, 2024
@Tamsy
Copy link

Tamsy commented Dec 1, 2024

type: custom:simple-thermostat
entity: climate.sypialnia
show_header: true
control: false
step_size: '0.5'
name: Sypialnia
label:
  temperature: Temperatura
  state: Tryb

should read:

type: custom:simple-thermostat
entity: climate.sypialnia
header:
  name: Sypialnia
control: false
step_size: "0.5"
hide:
  temperature: true
label:
  state: Tryb
sensors:
  - entity: sensor.xiaomi_temp_sypialnia_temperatura
    name: Temperatura

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

2 participants