Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95284

How to control multiple Thermostats via MQTT - but with one thermostat card?

$
0
0

@jascdk wrote:

Hi fellas :slight_smile:

I have a MQTT controlled floor heating system in the whole house. Each room is controlled by a sensor, that reports back to the unit, which reports to the MQTT broker.

The code for example one room looks like this:

climate:
  - platform: mqtt
    name: Værksted
    modes:
      - 'off'
      - 'heat'
    current_temperature_topic: 'heat/floorB4E62D292F41/0/current'
    temperature_command_topic: 'heat/floorB4E62D292F41/0/target_set'
    temperature_state_topic: 'heat/floorB4E62D292F41/0/target'
    availability_topic: 'heat/floorB4E62D292F41/online'
    payload_available: 'True'
    payload_not_available: 'False'
    mode_state_topic: 'heat/floorB4E62D292F41/0/output'
    mode_state_template: >-
      {{ 'heat' if value == 'on' else 'off' }}
    qos: 0

I have multiple of these entities, but is there a way to control all with just one thermostat card or how do I do it best?

Best regards

Jacob

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>