From b6927b50141d2e716fc379949f9a515e2ce4e8a5 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 17 Jan 2024 17:16:42 -0500 Subject: [PATCH] Sensors for temperature limits in rooms --- packages/climate.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/packages/climate.yaml b/packages/climate.yaml index 88adc41..b257783 100644 --- a/packages/climate.yaml +++ b/packages/climate.yaml @@ -19,6 +19,46 @@ template: - name: Kallen Fan - Separate Schedule unique_id: 3f243861-6a1f-412f-b9e3-933b54793b08 state: "{{ states('input_datetime.kallen_fan') != states('input_datetime.kallen_bedtime') }}" + - name: Living Room Hot + unique_id: 8fd9db5e-7883-42f3-8918-e78d52c680c6 + state: "{{ states('sensor.living_room_temperature') | float >= 80 }}" + device_class: heat + - name: Living Room Cold + unique_id: 48494ec8-a63f-4244-b619-ff78c44f28e8 + state: "{{ states('sensor.living_room_temperature') | float <= 60 }}" + device_class: cold + - name: Downstairs Bathroom Hot + unique_id: b68adefa-e30e-4454-be21-2743af0f1674 + state: "{{ states('sensor.downstairs_bathroom_temperature') | float >= 80 }}" + device_class: heat + - name: Downstairs Bathroom Cold + unique_id: c477a45e-f11c-4af5-87aa-90f006b74ac5 + state: "{{ states('sensor.downstairs_bathroom_temperature') | float <= 55 }}" + device_class: cold + - name: Stairwell Bottom Hot + unique_id: ebd09e52-c31e-442e-8767-a8083b99c66c + state: "{{ states('sensor.stairwell_bottom_temperature') | float >= 80 }}" + device_class: heat + - name: Stairwell Bottom Cold + unique_id: 3f8b5340-0fb4-489f-8df7-c2843316009f + state: "{{ states('sensor.stairwell_bottom_temperature') | float <= 60 }}" + device_class: cold + - name: Upstairs Bathroom Hot + unique_id: 86394cea-9499-4595-85d1-2a026e8e2b27 + state: "{{ states('sensor.upstairs_bathroom_temperature') | float >= 80 }}" + device_class: heat + - name: Upstairs Bathroom Cold + unique_id: 5d720614-90f0-4e69-8086-8bc0f47a78eb + state: "{{ states('sensor.upstairs_bathroom_temperature') | float <= 60 }}" + device_class: cold + - name: Emma Bedroom Hot + unique_id: b453e23a-f3c9-4fab-bf82-d08af05e8a94 + state: "{{ states('sensor.living_room_temperature') | float >= 75 }}" + device_class: heat + - name: Emma Bedroom Cold + unique_id: 41174b21-a46f-4deb-8dbc-61a356b33db1 + state: "{{ states('sensor.living_room_temperature') | float <= 60 }}" + device_class: cold - sensor: - name: "Master Bedroom Target Temp" unique_id: 2ce31844-b115-42b8-8213-feccf24e236c