skull791
(Skull791)
August 1, 2023, 5:12pm
1
Hello everyone. Im trying to add code to simple thermostat card to have humidity and maybe other rooms temperature sensor display in the same card. reading on line in simple thermostat read me file it shows that is possible but i cant get it to work.
This is original code:
How can I add my humidity display in to this code?
thank you
Add a sensor like this.
type: custom:simple-thermostat
entity: climate.sensibo_cuisine
sensors:
- entity: sensor.ajout_sensor_humidite_cuisine
name: Humidity
skull791
(Skull791)
August 1, 2023, 5:46pm
3
thank you for replaying when i do add it please see bellow:
it will just keep spinning and give me error.
The indentation is not good.
sensors:
- entity: sensor.ajout_sensor_humidite_cuisine
name: Humidity
skull791
(Skull791)
August 1, 2023, 6:04pm
5
Ok so I knew I’m missing something but when I try indentation it will not work as well. see bellow.
What am I missing?
Missing the dash in front of humidity entity. Bad indentation too.
type: custom:simple-thermostat
entity: climate.1st_floor_thermostat
step_size: 1
layout:
mode:
names: true
icons: true
headings: true
header:
name: 1st Floor Thermostat
sensors:
- entity: sensor.1st_floor_thermostat_humidity
name: Humidity
skull791
(Skull791)
August 1, 2023, 6:11pm
7
It worked. Awesome! where can I learn about all this ?
Also you would not know how to do multiple temp sensors to one thermostat to average between all rooms?
There is documentation for each type of card in the Github of the card.
For simple-thermostat
To calculate the average temperature, you can use the min-max platform with the mean operator.
- platform: min_max
name: "Température moyenne"
unique_id: 'temperature_moyenne'
type: mean
round_digits: 1
entity_ids:
- sensor.netatmo_bureau_temperature
- sensor.netatmo_salon_temperature
- sensor.sensibo_temperature_cuisine
skull791
(Skull791)
August 1, 2023, 7:28pm
9
Yes. I read that document about the simple thermostat but everything i try it was kicking an error. Is there resource i can learn how to property formulated code that is used in home assistant?
As for Min/Max I already have two sensors set up for 1 st floor and 2nd floor, and they are giving me average temperature but now how do i assign that to be used by a specific thermostat?
Do you want to adjust the thermostats with the average temperature or do you just want to display it?
skull791
(Skull791)
August 1, 2023, 8:48pm
11
Yes I want to adjust thermostat with average temperature.
pcwii
(Pcwii)
August 1, 2023, 9:03pm
12
YAML
Yet, Another, Markup, Language
skull791
(Skull791)
August 3, 2023, 1:49pm
13
Any recommendation on how to adjust thermostat to average temperature ?
Sorry, but I don’t know how to do it.
skull791
(Skull791)
August 3, 2023, 2:41pm
15
Ok, thank you for all your help sir