mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-03-16 10:20:02 +00:00
Updated for correct templating of trigger_id
This commit is contained in:
parent
f69a552da9
commit
e903e2f778
@ -26,8 +26,8 @@
|
||||
- thu
|
||||
- fri
|
||||
action:
|
||||
# - wait_template: >-
|
||||
# {{ is_state('group.garage_doors', 'open') }}
|
||||
# - delay: 00:03:00
|
||||
- wait_template: "{{ is_state('group.garage_doors', 'open') }}"
|
||||
timeout: '00:45:00'
|
||||
- delay: 00:03:00
|
||||
- service: light.turn_off
|
||||
entity_id: all
|
||||
|
@ -19,7 +19,7 @@
|
||||
- condition: template
|
||||
value_template: >
|
||||
{% set month=states("sensor.date").split('-')[1] | int %}
|
||||
{%- if month == 4 or month == 5 or month == 6 or month == 7 or month == 8 -%}
|
||||
{%- if month == 4 or month == 5 or month == 6 or month == 7 -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
|
@ -16,7 +16,7 @@ automation:
|
||||
entity_id:
|
||||
- sensor.carlo_xsmax_steps
|
||||
- sensor.paige_6s_steps
|
||||
- sensor.steps_3
|
||||
- sensor.stacey_6s_steps
|
||||
above: 5000
|
||||
|
||||
action:
|
||||
@ -24,9 +24,9 @@ automation:
|
||||
data_template:
|
||||
tweet: >
|
||||
{{ [
|
||||
"Somebody just hit {{ states('trigger.entity_id') }} steps on the #Fitbit!",
|
||||
"Keep on moving. Somebody just hit {{ states('trigger.entity_id') }} #Fitbit steps.",
|
||||
"#Fitness Tracking at home BY the home. Somebody just hit {{ states('trigger.entity_id') }} #Fitbit steps"
|
||||
"Somebody just hit {{ trigger.entity_id }} steps on the #Fitbit!",
|
||||
"Keep on moving. Somebody just hit {{ trigger.entity_id }} #Fitbit steps.",
|
||||
"#Fitness Tracking at home BY the home. Somebody just hit {{ trigger.entity_id }}} #Fitbit steps"
|
||||
] | random + " #Self #Data"}}
|
||||
image: >-
|
||||
{{ [
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 36 KiB |
Loading…
x
Reference in New Issue
Block a user