2022.11.3

This commit is contained in:
2022-11-19 17:40:31 +02:00
parent 3381d7c021
commit a8c6f31fc8
7 changed files with 21 additions and 21 deletions
+11 -14
View File
@@ -28,22 +28,19 @@ script:
tapo_bedroom_on:
sequence:
- service: tapo_control.set_privacy_mode
entity_id: camera.bedroom_hd
- service: swtich.turn_off
entity_id: switch.bedroom_privacy
- service: input_select.select_option
entity_id: select.bedroom_move_to_preset
data:
privacy_mode: "off"
- service: tapo_control.ptz
entity_id: camera.bedroom_hd
data:
preset: "live"
option: "live"
tapo_bedroom_off:
sequence:
- service: tapo_control.ptz
entity_id: camera.bedroom_hd
- service: input_select.select_option
entity_id: select.bedroom_move_to_preset
data:
preset: "off"
- service: tapo_control.set_privacy_mode
entity_id: camera.bedroom_hd
data:
privacy_mode: "on"
option: "off"
- service: swtich.turn_on
entity_id: switch.bedroom_privacy
@@ -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: