diff --git a/config/packages/space.yaml b/config/packages/space.yaml index d218d5f0..382ea933 100755 --- a/config/packages/space.yaml +++ b/config/packages/space.yaml @@ -90,9 +90,9 @@ automation: from: 'off' action: - - service: script.tweet_engine + - service: script.tweet_engine_image data_template: - tweet: > + tweet: >- {{ [ "The ISS is above me right now!", "The International Space Station flys by once a day & that time is NOW! (For me)", @@ -101,7 +101,12 @@ automation: "The #ISS just flew by and there are {{states.binary_sensor.iss.attributes.number_of_people_in_space}} people in", "The International Space Station Rocks! And it's above me RIGHT NOW!" ] | random + " #Space"}} - + image: >- + {{ [ + "/config/www/custom_ui/floorplan/images/branding/space.png", + "/config/www/custom_ui/floorplan/images/branding/space2.png", + "/config/www/custom_ui/floorplan/images/branding/starman.png" + ] | random }} - alias: 'Full Moon -Tweet' trigger: - platform: state @@ -109,12 +114,19 @@ automation: to: 'Full Moon' action: - delay: '{{ (range(1, 6)|random|int) }}:{{ (range(1, 50)|random|int) }}:00' - - service: script.tweet_engine + - service: script.tweet_engine_image data_template: - tweet: > + tweet: >- {{ [ "There is a Full Moon out tonight!", "Wish my solar panels picked up Moon rays. Full Moon out tonight.", "Turn down the lights, there is a Full Moon out tonight.", "Get out your telescopes, it'll be a Full Moon out tonight!" ] | random + "#Space"}} + image: >- + {{ [ + "/config/www/custom_ui/floorplan/images/branding/moon.png", + "/config/www/custom_ui/floorplan/images/branding/moon2.png", + "/config/www/custom_ui/floorplan/images/branding/moon3.png", + "/config/www/custom_ui/floorplan/images/branding/starman.png" + ] | random }} diff --git a/config/www/custom_ui/floorplan/images/branding/moon.png b/config/www/custom_ui/floorplan/images/branding/moon.png new file mode 100755 index 00000000..8ba04a11 Binary files /dev/null and b/config/www/custom_ui/floorplan/images/branding/moon.png differ diff --git a/config/www/custom_ui/floorplan/images/branding/moon2.png b/config/www/custom_ui/floorplan/images/branding/moon2.png new file mode 100755 index 00000000..c274aee7 Binary files /dev/null and b/config/www/custom_ui/floorplan/images/branding/moon2.png differ diff --git a/config/www/custom_ui/floorplan/images/branding/moon3.png b/config/www/custom_ui/floorplan/images/branding/moon3.png new file mode 100755 index 00000000..69ab6573 Binary files /dev/null and b/config/www/custom_ui/floorplan/images/branding/moon3.png differ diff --git a/config/www/custom_ui/floorplan/images/branding/space.png b/config/www/custom_ui/floorplan/images/branding/space.png new file mode 100755 index 00000000..b1fd5fe6 Binary files /dev/null and b/config/www/custom_ui/floorplan/images/branding/space.png differ diff --git a/config/www/custom_ui/floorplan/images/branding/space2.png b/config/www/custom_ui/floorplan/images/branding/space2.png new file mode 100755 index 00000000..6e89f4cb Binary files /dev/null and b/config/www/custom_ui/floorplan/images/branding/space2.png differ diff --git a/config/www/custom_ui/floorplan/images/branding/starman.png b/config/www/custom_ui/floorplan/images/branding/starman.png new file mode 100755 index 00000000..b2648cb9 Binary files /dev/null and b/config/www/custom_ui/floorplan/images/branding/starman.png differ