This commit is contained in:
2020-05-06 04:32:08 +03:00
parent 94581b73b9
commit 9217caba9e
22 changed files with 94 additions and 48 deletions
+11 -9
View File
@@ -7,7 +7,9 @@ binary_sensor:
- platform: template
sensors:
floorplan_night_mode:
value_template: "{{ states('sun.sun') == 'below_horizon' or is_state('input_boolean.floorplan_night_mode', 'on') }}"
value_template: >-
{{ states('sun.sun') == 'below_horizon'
or is_state('input_boolean.floorplan_night_mode', 'on') }}
sensor:
- platform: command_line
@@ -54,14 +56,14 @@ automation:
- service: script.say
data:
message: "Hey! I was out for a bit, but I'm back online!"
# - service: notify.telegram
# data:
# title: "⚙️ *System Module*"
# message: "Ask me to do something anytime!"
# data:
# keyboard:
# - "/guest_mode_on, /guest_mode_off"
# - "/status"
# - service: notify.telegram
# data:
# title: "⚙️ *System Module*"
# message: "Ask me to do something anytime!"
# data:
# keyboard:
# - "/guest_mode_on, /guest_mode_off"
# - "/status"
- alias: System · Telegram · Announce status
trigger: