mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-07-13 18:57:18 +00:00
Closes #331
This commit is contained in:
parent
010d156886
commit
260290e4b6
@ -6,14 +6,8 @@ homeassistant:
|
|||||||
unit_system: imperial
|
unit_system: imperial
|
||||||
time_zone: America/New_York
|
time_zone: America/New_York
|
||||||
whitelist_external_dirs:
|
whitelist_external_dirs:
|
||||||
- /config/www/custom_ui
|
- /config/www/custom_ui/floorplan/images
|
||||||
|
|
||||||
# { "message": "Photo Tweet",
|
|
||||||
# "data": {
|
|
||||||
# "media": "/config/www/custom_ui/Measurements.jpg"
|
|
||||||
# }
|
|
||||||
#
|
|
||||||
|
|
||||||
customize: !include_dir_merge_named customize
|
customize: !include_dir_merge_named customize
|
||||||
customize_domain:
|
customize_domain:
|
||||||
automation:
|
automation:
|
||||||
|
@ -146,7 +146,7 @@ automation:
|
|||||||
{% set issue = trigger.event.data.issue %}
|
{% set issue = trigger.event.data.issue %}
|
||||||
{% set issueurl = trigger.event.data.issueurl %}
|
{% set issueurl = trigger.event.data.issueurl %}
|
||||||
{% set phrases = [
|
{% set phrases = [
|
||||||
"New Code Alert: " ~ issue ~ "(" ~ issueurl ~ "). Repo: (https://github.com/CCOSTAN/Home-AssistantConfig/commits/master) "
|
"New Code Available: " ~ issue ~ " " ~ issueurl
|
||||||
] %}
|
] %}
|
||||||
{% set hashtags = [
|
{% set hashtags = [
|
||||||
"#Github",
|
"#Github",
|
||||||
@ -154,7 +154,13 @@ automation:
|
|||||||
"#SmartHomeCode"
|
"#SmartHomeCode"
|
||||||
] %}
|
] %}
|
||||||
{{ phrases|random ~ " " ~ hashtags|random }}
|
{{ phrases|random ~ " " ~ hashtags|random }}
|
||||||
|
data_template:
|
||||||
|
media: >-
|
||||||
|
{% set pictures = [
|
||||||
|
"/config/www/custom_ui/floorplan/images/repo_ad.png",
|
||||||
|
"/config/www/custom_ui/floorplan/images/repo_ad2.png"
|
||||||
|
] %}
|
||||||
|
{{ pictures|random }}
|
||||||
|
|
||||||
- alias: 'Random House stats'
|
- alias: 'Random House stats'
|
||||||
hide_entity: True
|
hide_entity: True
|
||||||
|
@ -17,6 +17,8 @@ tweet_engine:
|
|||||||
data_template:
|
data_template:
|
||||||
message: >-
|
message: >-
|
||||||
{{ tweet }} #IOT #SmartHome
|
{{ tweet }} #IOT #SmartHome
|
||||||
|
data:
|
||||||
|
media: {{ media }}
|
||||||
|
|
||||||
# - service: ifttt.trigger
|
# - service: ifttt.trigger
|
||||||
# data_template: {"event":"facebook_tweet", "value1":"{{ tweet }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"}
|
# data_template: {"event":"facebook_tweet", "value1":"{{ tweet }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"}
|
||||||
|
BIN
config/www/custom_ui/floorplan/images/branding/repo_ad.png
Executable file
BIN
config/www/custom_ui/floorplan/images/branding/repo_ad.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 663 KiB |
Loading…
x
Reference in New Issue
Block a user