Skip to content
Snippets Groups Projects
Commit 36fa379c authored by matt's avatar matt
Browse files

improved automations

parent 0518117b
No related branches found
No related tags found
1 merge request!16improved automations
......@@ -59,7 +59,7 @@ binary_sensor:
host: TL-SG3452X
name: "Switch02"
count: 3
scan_interval: 5
scan_interval: 20
# https://www.home-assistant.io/integrations/rest_command/
rest_command:
......@@ -96,7 +96,7 @@ input_select:
- closed
icon: mdi:door-open
# current time for
# current time for zonenstatus telegram
sensor:
- platform: time_date
display_options:
......@@ -142,7 +142,7 @@ automation ansible:
option: closed
target:
entity_id: input_select.zonenstatus
mode: single
mode: restart
# send zonenstatus to MQTT, REST
- alias: ANSIBLE_zonenstatus_send_MQTT_REST
......@@ -175,7 +175,7 @@ automation ansible:
payload: CLOSED
- service: rest_command.set_zone_status_closed
data: {}
mode: single
mode: restart
# send zonenstatus to telegram
- alias: ANSIBLE_zonenstatus_send_telegram
......@@ -207,4 +207,4 @@ automation ansible:
target: -1001893089134
timeout: 30
message: Die warpzone ist seit {{ '{{' }} states('sensor.time') {{ '}}' }} geschlossen!
mode: single
mode: restart
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment