mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-20 04:33:09 +00:00
Moving some twitter and weather automations to the respective packages
This commit is contained in:
@@ -73,6 +73,23 @@ automation:
|
||||
data_template:
|
||||
message: >-
|
||||
"This is a good time to remind you that I am a bot powered by @home_assistant and configured by @thejeffreystone. Find my code at https://github.com/thejeffreystone/home-assistant-configuration"
|
||||
|
||||
- id: net_speed_report
|
||||
initial_state: true
|
||||
alias: Network Speed Report
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '11:15:00'
|
||||
action:
|
||||
- service: script.twitter_notify
|
||||
data_template:
|
||||
message: '{{ [ "According to my latest speed tests Anchorage House is getting
|
||||
{{ states.sensor.internet_test_down_mean.attributes.max_value }} Mbps down and {{ states.sensor.internet_test_up_mean.attributes.max_value }}
|
||||
Mbps up thanks to #ATTFiber. ", "How fast is your internet? I just checked
|
||||
am Im seeing {{ states.sensor.internet_test_down_mean.attributes.max_value }} Mbps down and {{ states.sensor.internet_test_up_mean.attributes.max_value }}
|
||||
Mbps up. Beat that. ", "My speed is monitored using @home_assistant and https://github.com/thejeffreystone/speedtest_to_mqtt
|
||||
and is {{ states.sensor.internet_test_down_mean.attributes.max_value }} Mbps down and {{ states.sensor.internet_test_up_mean.attributes.max_value }}
|
||||
Mbps up." ] | random }}'
|
||||
|
||||
- id: rex_manning_day_tweet_1
|
||||
alias: Rex Manning Day Tweet One
|
||||
|
@@ -200,7 +200,7 @@ automation:
|
||||
to: 'on'
|
||||
action:
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.guest_tv
|
||||
data:
|
||||
media_content_id: /media/audio/Tornado_Siren.mp3
|
||||
media_content_type: "music"
|
||||
@@ -215,7 +215,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
entity_id: media_player.guest_tv
|
||||
|
||||
|
||||
script:
|
||||
|
Reference in New Issue
Block a user