mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
2022.11.3
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# https://www.home-assistant.io/integrations/sun
|
||||
sun:
|
||||
|
||||
sensor:
|
||||
- platform: moon
|
||||
|
||||
Reference in New Issue
Block a user