Skip to content

Act temp from Touchswitch thermostat #146

Answered by brett1996
brett1996 asked this question in Q&A
Discussion options

You must be logged in to vote

I Fixed it myself by adding this in the config

template:
  - sensor:
      - name: WoonkamerTemperature
        unique_id: "0a7476cc-d6c1-40ba-8ae1-606518c3497f"
        device_class: Temperature
        state_class: measurement
        unit_of_measurement: "°C"
        state: "{{ float(state_attr('climate.woonkamer', 'current_temperature')) | round(1) }}"

      - name: BadkamerTemperature
        unique_id: "0a7576cc-d6c1-40ba-8ae1-606518c3497f"
        device_class: Temperature
        state_class: measurement
        unit_of_measurement: "°C"
        state: "{{ float(state_attr('climate.badkamer_db', 'current_temperature')) | round(1) }}"

      - name: Slaapkamer1Temperature
        …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brett1996
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant