mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-07-22 03:30:24 +00:00
Closes #368 - Automatic updates to GitHub to open up a case when there is new firmware or Home assistant updates..
This commit is contained in:
parent
fd8f059caf
commit
70136307cf
@ -25,6 +25,9 @@
|
|||||||
message: "Wink Update is available. - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}"
|
message: "Wink Update is available. - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}"
|
||||||
notification_id: "update_available"
|
notification_id: "update_available"
|
||||||
|
|
||||||
|
- service: ifttt.trigger
|
||||||
|
data_template: {"event":"GitPost", "value1":"Wink Update is available. - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}", "value2":"{{ states.binary_sensor.carlowink.attributes }}"}
|
||||||
|
|
||||||
- service: script.tweet_engine
|
- service: script.tweet_engine
|
||||||
data_template:
|
data_template:
|
||||||
tweet: >
|
tweet: >
|
||||||
|
@ -11,10 +11,12 @@
|
|||||||
action:
|
action:
|
||||||
- service: script.notify_engine
|
- service: script.notify_engine
|
||||||
data_template:
|
data_template:
|
||||||
value1: 'There is a new Version of Home-Assistant Available.'
|
value1: "Home Assistant {{ states.updater.updater.state }} is now available. {{now().strftime('%Y-%m-%d %I:%M %p')}}"
|
||||||
value2: "{{ states('updater.updater') }}"
|
|
||||||
who: 'carlo'
|
who: 'carlo'
|
||||||
|
|
||||||
|
- service: ifttt.trigger
|
||||||
|
data_template: {"event":"GitPost", "value1":"Home Assistant {{ states.updater.updater.state }} is now available.", "value2":"{{ states.updater.updater.state }}"}
|
||||||
|
|
||||||
- service: script.tweet_engine_image
|
- service: script.tweet_engine_image
|
||||||
data_template:
|
data_template:
|
||||||
tweet: "New version of @Home_Assistant! Cannot wait for @CCostan to install it! - {{ states('updater.updater') }} (http://www.vmwareinfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)"
|
tweet: "New version of @Home_Assistant! Cannot wait for @CCostan to install it! - {{ states('updater.updater') }} (http://www.vmwareinfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)"
|
||||||
@ -30,8 +32,6 @@
|
|||||||
data_template:
|
data_template:
|
||||||
title: "Update Available"
|
title: "Update Available"
|
||||||
message: "Home Assistant {{ states('updater.updater') }} is available. - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}"
|
message: "Home Assistant {{ states('updater.updater') }} is available. - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}"
|
||||||
data:
|
|
||||||
url: "https://home-assistant.io/getting-started/installation-raspberry-pi-all-in-one/#upgrading"
|
|
||||||
|
|
||||||
- service: persistent_notification.create
|
- service: persistent_notification.create
|
||||||
data:
|
data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user