Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
Home-Assistant-Config
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
open-source
Home-Assistant-Config
Commits
65d25cd7
Verified
Commit
65d25cd7
authored
8 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Sync with upstream
432ac4b
parent
8bbec81b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
automations/maybe-an-earthquake.yaml
+36
-0
36 additions, 0 deletions
automations/maybe-an-earthquake.yaml
with
36 additions
and
0 deletions
automations/maybe-an-earthquake.yaml
0 → 100644
+
36
−
0
View file @
65d25cd7
alias
:
Turn on all lights when all accelerometers move
trigger
:
-
platform
:
state
entity_id
:
binary_sensor.office_cabinet_door_motion
to
:
'
on'
condition
:
condition
:
and
conditions
:
-
condition
:
state
entity_id
:
binary_sensor.front_door_motion
state
:
'
on'
-
condition
:
state
entity_id
:
binary_sensor.slider_motion
state
:
'
on'
-
condition
:
state
entity_id
:
binary_sensor.master_bedroom_window_motion
state
:
'
on'
-
condition
:
state
entity_id
:
binary_sensor.dining_area_window_motion
state
:
'
on'
-
condition
:
state
entity_id
:
binary_sensor.office_window_motion
state
:
'
on'
action
:
-
service
:
scene.turn_on
entity_id
:
-
scene.da_bright
-
scene.lr_bright
-
scene.office_bright
-
scene.ericks_desk_lamp_relax
-
scene.master_bedroom_bright
-
scene.master_bath_bright
-
scene.balcony_bright
-
service
:
notify.jabber
data
:
message
:
'
MAYBE
AN
EARTHQUAKE?!?
ALL
ACCELEROMETERS
ARE
ACTIVE.'
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