Updated #301 to have Neato Images for the tweets.

This commit is contained in:
ccostan 2018-06-26 13:58:56 -04:00
parent ff6a46ff7b
commit ed6d0c3aef
5 changed files with 15 additions and 5 deletions

View File

@ -8,7 +8,7 @@
# "*.*_sleep_hours": # "*.*_sleep_hours":
# unit_of_measurement: hours # unit_of_measurement: hours
# icon: mdi:sleep # icon: mdi:sleep
# #
# hidden: False # hidden: False
#------------------------------------------- #-------------------------------------------
neato: neato:
@ -37,12 +37,16 @@ automation:
value_template: "{{ states.vacuum.carloneato.attributes.battery_level |int < 20 }}" value_template: "{{ states.vacuum.carloneato.attributes.battery_level |int < 20 }}"
action: action:
- service: script.tweet_engine - service: script.tweet_engine_image
data_template: data_template:
tweet: > tweet: >
{{ [ {{ [
"#Neato returning to base. Vacuumed up a TON. (http://amzn.to/2CKHZya)", "#Neato returning to base. Vacuumed up a TON. (http://amzn.to/2CKHZya)",
"Everyday I have the Neato Botvac go out and clean the house on its own.", "Everyday I have the Neato Botvac go out and clean the house on its own.",
"Since we have a cat that sheds all day, we have @Neato go out daily to clean.", "Since we have a cat that sheds all day, we have Neato Vacuum go out daily to clean.",
"Time to recharge the @Neato Vacuum." "Time to recharge the Neato Vacuum."
] | random + " Battery Level:{{states.vacuum.carloneato.attributes.battery_level }} #Robots"}} ] | random + " Battery Level:{{states.vacuum.carloneato.attributes.battery_level }} #Robots"}}
image: >-
{{ [
"/config/www/custom_ui/floorplan/images/branding/neato.png"
] | random }}

View File

@ -16,7 +16,13 @@ homeassistant:
"sensor.*_color_status": "sensor.*_color_status":
hidden: True hidden: True
homebridge_hidden: true homebridge_hidden: true
"sensor.*_smoke_status":
hidden: True
homebridge_hidden: true
"sensor.*_security_state":
hidden: True
homebridge_hidden: true
customize: customize:
binary_sensor.hallway_nest_protect_kids_hallway_online: binary_sensor.hallway_nest_protect_kids_hallway_online:

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 90 KiB