Simple thermostat - editing for humidity and other room sensors display

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:
image

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

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

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

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

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?

Yes I want to adjust thermostat with average temperature.

YAML

Yet, Another, Markup, Language

Any recommendation on how to adjust thermostat to average temperature ?

Sorry, but I don’t know how to do it.

Ok, thank you for all your help sir