Controlling multi thermostats from one temperature sensor


I have a problem with controlling the temperature at my living room. My thermostats sits under the two heaters close to the floor, and my experience they often have there own temperature bubble, and not in sync with the rest of the room.
Resulting in sometimes they are working against the temperature we would like to have in the room.

So my question is, is there a way with home-Assistant to control the thermostats from a central temperature sensor, which I can place a more realistic place in the room?


Using the climate component or automations you can use any sensor you want.

I got 3
of these

after watching this

working great

  - platform: generic_thermostat
    name: "Gas Heater"
    heater:  switch.gas_heater
    target_sensor: sensor.lounge_temperature
    min_temp: 15
    max_temp: 30
    ac_mode: False
    target_temp: 22
    initial_hvac_mode: "off"
    cold_tolerance: 0.3
    hot_tolerance: 0.3
    away_temp: 16

Have a GAS heater that has a IR remote so i got a broadlink

  - platform: broadlink
    host: bla.bla.bla.bla
    mac: 'bla.bla.bla'
    timeout: 15
        friendly_name: "Gas Heater"
        friendly_name: "Gas Control"

gas_control is the UP / DOWN on the remote turn it up or down

so i have template sensor

        value_template: >-
          {% if is_state("sensor.day_night", "Night")  and is_state('media_player.mckillentv', 'on') and
              is_state('switch.lava_lamp', 'on')  and is_state('sensor.am_pm', 'PM') %}
          {% else %}
          {% endif %}

if we watch tv and day_night sensor is night
so i have this

- id: Gas Heater ON If TV ON
  alias: Gas Heater ON If TV ON
  - entity_id: sensor.gasheater
    platform: state
    to: 'on'
  condition: []
  - data:
      entity_id: climate.gas_heater
    service: climate.turn_on
  - data:
      entity_id: climate.hall_heater
    service: climate.turn_on
  - data:
      entity_id: climate.gas_heater
      temperature: '22'
    service: climate.set_temperature

when we go to bed tv OFF

- id: Lava Lamp Off TV OFF
  alias: Lava Lamp Off TV OFF
  initial_state: true
  - entity_id: media_player.mckillentv
    for: '00:00:02'
    platform: state
    to: 'off'
  condition: []
  - data:
      entity_id: switch.lava_lamp
    service: switch.turn_off
  - data:
      entity_id: switch.gas_heater
    service: switch.turn_off
  - data:
      entity_id: climate.gas_heater
    service: climate.turn_off
  - data:
      entity_id: climate.hall_heater
    service: climate.turn_off

lovelace look

see clear as mud
hope this make cents

The sensors looks nice also with the humidity sensor in it, but I have radiator and have to use thermostats om them, I cannot control the central heating system. And as fare as I understand it they have there own temperature sensors build in, and make there adjusting based on that, I would like to control that ajusting based on fx Xiaomi Mijia sensor.
Is that possible?


You would have to replace the radiator valve with something that you can control.