Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-warpzone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infrastruktur
ansible-warpzone
Commits
902c5c10
Commit
902c5c10
authored
2 years ago
by
3d
Browse files
Options
Downloads
Plain Diff
Merge branch 'matt-master-patch-57796' into 'master'
improved automations See merge request
!16
parents
99c61ba1
36fa379c
No related branches found
No related tags found
1 merge request
!16
improved automations
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
intern/docker_homeassistant/templates/config/configuration.yaml
+5
-5
5 additions, 5 deletions
.../docker_homeassistant/templates/config/configuration.yaml
with
5 additions
and
5 deletions
intern/docker_homeassistant/templates/config/configuration.yaml
+
5
−
5
View file @
902c5c10
...
@@ -59,7 +59,7 @@ binary_sensor:
...
@@ -59,7 +59,7 @@ binary_sensor:
host
:
TL-SG3452X
host
:
TL-SG3452X
name
:
"
Switch02"
name
:
"
Switch02"
count
:
3
count
:
3
scan_interval
:
5
scan_interval
:
20
# https://www.home-assistant.io/integrations/rest_command/
# https://www.home-assistant.io/integrations/rest_command/
rest_command
:
rest_command
:
...
@@ -96,7 +96,7 @@ input_select:
...
@@ -96,7 +96,7 @@ input_select:
-
closed
-
closed
icon
:
mdi:door-open
icon
:
mdi:door-open
# current time for
# current time for
zonenstatus telegram
sensor
:
sensor
:
-
platform
:
time_date
-
platform
:
time_date
display_options
:
display_options
:
...
@@ -142,7 +142,7 @@ automation ansible:
...
@@ -142,7 +142,7 @@ automation ansible:
option
:
closed
option
:
closed
target
:
target
:
entity_id
:
input_select.zonenstatus
entity_id
:
input_select.zonenstatus
mode
:
single
mode
:
restart
# send zonenstatus to MQTT, REST
# send zonenstatus to MQTT, REST
-
alias
:
ANSIBLE_zonenstatus_send_MQTT_REST
-
alias
:
ANSIBLE_zonenstatus_send_MQTT_REST
...
@@ -175,7 +175,7 @@ automation ansible:
...
@@ -175,7 +175,7 @@ automation ansible:
payload
:
CLOSED
payload
:
CLOSED
-
service
:
rest_command.set_zone_status_closed
-
service
:
rest_command.set_zone_status_closed
data
:
{}
data
:
{}
mode
:
single
mode
:
restart
# send zonenstatus to telegram
# send zonenstatus to telegram
-
alias
:
ANSIBLE_zonenstatus_send_telegram
-
alias
:
ANSIBLE_zonenstatus_send_telegram
...
@@ -207,4 +207,4 @@ automation ansible:
...
@@ -207,4 +207,4 @@ automation ansible:
target
:
-1001893089134
target
:
-1001893089134
timeout
:
30
timeout
:
30
message
:
Die warpzone ist seit {{ '{{' }} states('sensor.time') {{ '}}' }} geschlossen!
message
:
Die warpzone ist seit {{ '{{' }} states('sensor.time') {{ '}}' }} geschlossen!
mode
:
single
mode
:
restart
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment