Sinope Line Voltage Thermostats

Here’s the automation I’ve been using for displaying the outside temp.

- alias: Heat - OutdoorTemp
  trigger:
    - platform: state
      entity_id: sensor.temperature
  variables:
    thermostats:
      - AA:AA:AA:AA:AA:AA:AA:AA
      - BB:BB:BB:BB:BB:BB:BB:BB
      - CC:CC:CC:CC:CC:CC:CC:CC
  action:
    - repeat:
        count: "{{thermostats|length}}"
        sequence:
          - service: zha.set_zigbee_cluster_attribute
            data:
              ieee: "{{ thermostats[repeat.index-1] }}"
              endpoint_id: 1
              cluster_id: 0xff01
              cluster_type: in
              attribute: 0x0010
              value: "{{ ( trigger.to_state.state|float * 100 ) |int }}"

Just list all your ieee in the thermostats variable and it will update all thermostats every time the temperature for the trigger changes. I’ve been using it with environment Canada for 10 thermostats and it’s been rock solid.

5 Likes