mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-04-08 11:00:06 +00:00
Updated for correct templating of trigger_id
This commit is contained in:
parent
f69a552da9
commit
e903e2f778
@ -26,8 +26,8 @@
|
|||||||
- thu
|
- thu
|
||||||
- fri
|
- fri
|
||||||
action:
|
action:
|
||||||
# - wait_template: >-
|
- wait_template: "{{ is_state('group.garage_doors', 'open') }}"
|
||||||
# {{ is_state('group.garage_doors', 'open') }}
|
timeout: '00:45:00'
|
||||||
# - delay: 00:03:00
|
- delay: 00:03:00
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: all
|
entity_id: all
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
{% set month=states("sensor.date").split('-')[1] | int %}
|
{% 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
|
true
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ automation:
|
|||||||
entity_id:
|
entity_id:
|
||||||
- sensor.carlo_xsmax_steps
|
- sensor.carlo_xsmax_steps
|
||||||
- sensor.paige_6s_steps
|
- sensor.paige_6s_steps
|
||||||
- sensor.steps_3
|
- sensor.stacey_6s_steps
|
||||||
above: 5000
|
above: 5000
|
||||||
|
|
||||||
action:
|
action:
|
||||||
@ -24,9 +24,9 @@ automation:
|
|||||||
data_template:
|
data_template:
|
||||||
tweet: >
|
tweet: >
|
||||||
{{ [
|
{{ [
|
||||||
"Somebody just hit {{ states('trigger.entity_id') }} steps on the #Fitbit!",
|
"Somebody just hit {{ trigger.entity_id }} steps on the #Fitbit!",
|
||||||
"Keep on moving. Somebody just hit {{ states('trigger.entity_id') }} #Fitbit steps.",
|
"Keep on moving. Somebody just hit {{ trigger.entity_id }} #Fitbit steps.",
|
||||||
"#Fitness Tracking at home BY the home. Somebody just hit {{ states('trigger.entity_id') }} #Fitbit steps"
|
"#Fitness Tracking at home BY the home. Somebody just hit {{ trigger.entity_id }}} #Fitbit steps"
|
||||||
] | random + " #Self #Data"}}
|
] | random + " #Self #Data"}}
|
||||||
image: >-
|
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