Update Automation Daily High-Low Temp
This commit is contained in:
@@ -3,7 +3,7 @@ description: ""
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.gw1100a_v2_2_3_outdoor_temperature
|
- sensor.<OUTDOOR TEMP SENSOR>
|
||||||
id: temp
|
id: temp
|
||||||
- platform: time
|
- platform: time
|
||||||
at: "00:00:00"
|
at: "00:00:00"
|
||||||
@@ -16,12 +16,12 @@ action:
|
|||||||
id:
|
id:
|
||||||
- temp
|
- temp
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.gw1100a_v2_2_3_outdoor_temperature
|
entity_id: sensor.<OUTDOOR TEMP SENSOR>
|
||||||
above: input_number.day_temp_max
|
above: input_number.day_temp_max
|
||||||
sequence:
|
sequence:
|
||||||
- service: input_number.set_value
|
- service: input_number.set_value
|
||||||
data:
|
data:
|
||||||
value: "{{states('sensor.gw1100a_v2_2_3_outdoor_temperature')}}"
|
value: "{{states('sensor.<OUTDOOR TEMP SENSOR>')}}"
|
||||||
target:
|
target:
|
||||||
entity_id: input_number.day_temp_max
|
entity_id: input_number.day_temp_max
|
||||||
- service: input_datetime.set_datetime
|
- service: input_datetime.set_datetime
|
||||||
@@ -50,12 +50,12 @@ action:
|
|||||||
id:
|
id:
|
||||||
- temp
|
- temp
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.gw1100a_v2_2_3_outdoor_temperature
|
entity_id: sensor.<OUTDOOR TEMP SENSOR>
|
||||||
below: input_number.day_temp_min
|
below: input_number.day_temp_min
|
||||||
sequence:
|
sequence:
|
||||||
- service: input_number.set_value
|
- service: input_number.set_value
|
||||||
data:
|
data:
|
||||||
value: "{{states('sensor.gw1100a_v2_2_3_outdoor_temperature')}}"
|
value: "{{states('sensor.<OUTDOOR TEMP SENSOR>')}}"
|
||||||
target:
|
target:
|
||||||
entity_id: input_number.day_temp_min
|
entity_id: input_number.day_temp_min
|
||||||
- service: input_datetime.set_datetime
|
- service: input_datetime.set_datetime
|
||||||
|
|||||||
Reference in New Issue
Block a user