>
  {# Twitter Self Promos #}
  {%- macro getRandomPromo() -%}
    {{- [
      
      "ICYMI: The Home Assistant Community Store is a pretty useful integration in #homeassistant and setup is easy. You can do it in less than 6 mins. Follow along at https://youtu.be/Jh4QRL_kDuk ",
      "ICYMI: If you want to set up the Alexa Media Player integration in #homeassistant to get TTS and control of your echos check out -> https://youtu.be/Jh4QRL_kDuk ",
      "ICYMI: Getting Amazon Polly integrated with #homeassistant is a bit involved, but I cover the steps along with comparing it to other TTS options in a video -> https://youtu.be/Ys9xP6XP800 ",
      "ICYMI: Not sure what TTS integration to use with #homeassistant ? I cover getting started with the 4 big choices and do an audio test over on YouTube -> https://youtu.be/Ys9xP6XP800 ",
      "ICYMI: If you are considering #homeassistant here are 5 reasons Home Assistant might not be for you. Or maybe it is? https://youtu.be/g48pwCIAQEk ",
      "ICYMI: Sometimes you need to edit your #homeassistant YAML so here is a quick guide on a couple of ways to access your Home Assistant config. https://youtu.be/TtWY65cG20k ",
      "ICYMI: If you need a security alarm, door chime, or custom greeting in #homeassistant then check out this video -> https://youtu.be/27Y1JyIYK6E ",
      "ICYMI: Add National Weather Service Alerts to #homeassistant so you can stay up to date on severe weather. https://youtu.be/Tm4s4f0B6zw ",
      "ICYMI: Setup a Basic Room Presence sensor in #homeassistant using smart home tech you aleady have. https://youtu.be/Vjd6nJF0SLE ",
      "ICYMI: Here are some tips on how to future proof a smart home. #iot #smarthome #homeautomation https://youtu.be/UFGZt_WAjBs ",
      "ICYMI: Add an Acurite Rain Gauge to #homeassistant using a Home Assistant add-on. https://youtu.be/q5FL6ctUqN8 ",
      "ICYMI: Did you know you can monitor the #crypto market using #homeassistant ? It is easy with the Coinbase integration. https://youtu.be/3EbrIGwzGdM ",
      "ICYMI: Why Im swapping out my Amazon Echos for Google Homes https://youtu.be/k1x24FGYutw "
      ] | random -}}
  {%- endmacro -%}


  {# a macro that removes all newline characters, empty spaces, and returns formatted text  #}
    {%- macro cleanup(data) -%}
      {%- for item in data.split("\n")  if item | trim != "" -%}
        {{ item | trim }} {% endfor -%}
  {%- endmacro -%}

  {# a macro to call all macros :)  #}
    {%- macro mother_of_all_macros() -%}
      {{ getRandomPromo() }}
    {%- endmacro -%}
    
    {# Call the macro  #}
    {{- cleanup(mother_of_all_macros()) -}}