Remove all Twitter instances since they went to a pay model.

This commit is contained in:
CCOSTAN
2023-10-21 18:39:19 +00:00
parent 668b8e3c87
commit 7954ee4c7c
27 changed files with 5 additions and 1519 deletions

View File

@@ -125,42 +125,3 @@ sensor:
value_template: "{{ (value|replace(' days', '')) | int }}"
unit_of_measurement: Days
scan_interval: 43200
###############################################################################
# Automation that notifies of a Holiday "state" change
###############################################################################
automation:
- alias: Notify Holiday State Change
id: 77ce63e4-0a6e-485e-85a8-687a5a2d9df7
initial_state: true
trigger:
- platform: state
entity_id:
- sensor.holiday
condition:
- condition: template
value_template: "{{ states('sensor.holiday') != 'unknown' }}"
- condition: template
value_template: "{{ states.sensor.holiday.state | trim != '' }}"
action:
- delay: '0{{ (range(4, 8)|random|int) }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}'
- service: script.tweet_engine_image
data:
tweet: >
{{ [
"Today is {{ states.sensor.holiday.state }}. Time to adjust the outside light colors!",
"Today is {{ states.sensor.holiday.state }}.",
"Is today {{ states.sensor.holiday.state }}?",
"Just checked with Alexa & today is {{ states.sensor.holiday.state }}."
] | random + [
" #DayOff",
"(https://www.vmwareinfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)",
"(https://www.vmwareinfo.com/2017/08/diy-outdoor-smart-home-led-strips.html)",
"https://www.vcloudinfo.com/2019/02/everyday-holiday-smart-lights-valentines-day-edition.html)",
"#{{ states.sensor.holiday.state }}"
] | random }}
image: >-
{{ [
"/config/www/custom_ui/floorplan/images/branding/light4.png"
] | random }}