Skip to content

Commit

Permalink
lgtm
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmartin committed Mar 13, 2020
1 parent 0f15301 commit b4c4ba6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion homeassistant/automation/motion/detected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@

- id: motion_detected_notify
alias: motion_detected_notify
initial_state: 'on'
initial_state: on
trigger:
- platform: state
entity_id: counter.motion_detected_counter
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/automation/motion/detected_entity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@

- id: motion_detected_entity_notify
alias: motion_detected_entity_notify
initial_state: 'on'
initial_state: on
trigger:
- platform: state
entity_id: counter.motion_detected_entity_counter
Expand All @@ -258,7 +258,7 @@
notification_id: >
detected_entity-{{- states.sensor.motion_event_annotated.attributes.event.camera -}}
message: >-
Detected {{ states.sensor.motion_annotated_count.state }} {{ states.sensor.motion_detect_entity.state }}(s)
Detected {{ states.sensor.motion_annotated_count.state }} {{ states.sensor.motion_detect_entity.state -}}(s)
from {{ states.sensor.motion_event_annotated.attributes.event.camera }}
for {{ states.sensor.motion_event_annotated.attributes.event.elapsed }} seconds
({{ states.sensor.motion_event_annotated.attributes.event.images|length }} frames)
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/motion/automation.webcam.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@

- id: motion_detected_notify_${MOTION_CAMERA}
alias: motion_detected_notify_${MOTION_CAMERA}
initial_state: 'on'
initial_state: on
trigger:
- platform: state
entity_id: counter.motion_detected_counter_${MOTION_CAMERA}
Expand Down Expand Up @@ -591,7 +591,7 @@

- id: motion_detected_entity_notify_${MOTION_CAMERA}
alias: motion_detected_entity_notify_${MOTION_CAMERA}
initial_state: 'on'
initial_state: on
trigger:
- platform: state
entity_id: counter.motion_detected_entity_counter_${MOTION_CAMERA}
Expand Down

0 comments on commit b4c4ba6

Please sign in to comment.