mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-08 10:38:44 +00:00
2022.11.3
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
sensor:
|
||||
- platform: command_line
|
||||
name: Cobalt CPU Temperature
|
||||
command: "cat /sys/class/thermal/thermal_zone3/temp"
|
||||
command: "cat /sys/class/thermal/thermal_zone4/temp"
|
||||
unit_of_measurement: "°C"
|
||||
value_template: '{{ value | multiply(0.001) | round(1) }}'
|
||||
|
||||
@@ -153,7 +153,7 @@ automation:
|
||||
- alias: Climate · AC · Turn on if hot
|
||||
trigger:
|
||||
- platform: template
|
||||
value_template: "{{ states('sensor.multisensor_6_temperature')|float > states('input_number.toshiba_trigger_temp')|float }}"
|
||||
value_template: "{{ states('sensor.multisensor_6_temperature')|float|default(0) > states('input_number.toshiba_trigger_temp')|float }}"
|
||||
for: "00:05:00"
|
||||
- platform: state
|
||||
entity_id:
|
||||
|
||||
Reference in New Issue
Block a user