mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Closes #881 - Obsolete Service_TEMPLATE and Data_TEMPLATE
This commit is contained in:
@@ -20,10 +20,10 @@ automation:
|
||||
|
||||
action:
|
||||
- service: ifttt.trigger
|
||||
data_template: {"event":"GitPost", "value2":"HACS - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}", "value1":"Update to HACS {{state_attr('sensor.hacs','repositories')}}: There is {{ states.sensor.hacs.state }} update."}
|
||||
data: {"event":"GitPost", "value2":"HACS - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}", "value1":"Update to HACS {{state_attr('sensor.hacs','repositories')}}: There is {{ states.sensor.hacs.state }} update."}
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >-
|
||||
Hey @CCostan - There are {{ states.sensor.hacs.state }} updates to HACS components:
|
||||
{%- for repo in state_attr("sensor.hacs","repositories") -%}
|
||||
|
Reference in New Issue
Block a user