"The early bird gets the worm. And look over there. A worm. Wait, is that a snake? umm,,,I don't like snakes. Someone might want to take care,, ok,,, moving on.",
"The early bird gets the worm.",
"from the bridge.",
"Pardom the interuption.",
"I hope I am not interupting, but I wanted to give you an update."
]| random }}
{% if is_state("input_boolean.guest_mode", "on") %}
{{["And a special welcome to our guests. ",
"And good morning to our guests as well. ",
"Hey look at that, someone came to visit Anchorage House. Hope everyone slept well."
]| random }}
{% endif %}
{% endmacro %}
{% macro evening_greeting() %}
{{["I thought you might like to know. ",
"Here is the nightly report.",
"Before I call it a day I wanted to let you know,",
There are currently {{states.sensor.nws_alerts.state }} active weather alerts for our area.
The National Weather Service Has issued,
{% if states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[5] is defined %}
a {{ states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[5] }}.
{% elif states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[4] is defined %}
a {{ states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[4] }}.
{% elif states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[3] is defined %}
a {{ states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[3] }}.
{% elif states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[2] is defined %}
a {{ states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[2] }}.
{% elif states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[1] is defined %}
a {{ states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[1] }}.
{% else %}
a {{ states.sensor.nws_alerts.attributes.spoken_desc.split('\n\n-\n\n')[0] }}.
{% endif %}
{% endmacro %}
{% macro todays_events() %}
{% if is_state("sensor.holiday_halloween","0") %}
This is Halloween, this is halloween. Happy Halloween!
{% endif %}
{% if is_state("sensor.holiday_christmas","0") %}
Merry Christmas Everyone!
{% endif %}
{% if is_state("sensor.anniversary_our_wedding","0") %}
Happy Anniversary! It has been an amazing {{ states.sensor.anniversary_our_wedding.attributes.years }} years!
{% endif %}
{% if is_state("calendar.holidays_in_united_states", "on") %}
Today is {{states.calendar.holidays_in_united_states.attributes.message}}.
{% endif %}
{% if is_state("calendar.anchorage_holidays", "on") %}
And dont forget Today is also {{states.calendar.anchorage_holidays.attributes.message}}.
{% endif %}
{% if states.calendar.birthdays.state == "on" %}
Today is {{ states.calendar.birthdays.attributes.message }} birthday!
# Add some snark
{% endif %}
{% endmacro %}
{% macro current_conditions_outisde() %}
It's currently {{states.sensor.dark_sky_summary.state}} and {{states.sensor.dark_sky_temperature.state|round}} degrees according to Dark Sky.
The back porch is {{states.sensor.accurite_back_porch_temperature.state|round}} degrees.
{% endmacro %}
{% macro current_conditions_inside() %}
The inside temperature is {{states.climate.home.attributes.current_temperature|round}} degrees. The Climate is set to {{states.climate.home.state}}.
{% endmacro %}
{% macro current_conditions_garage() %}
The garage is {{states.sensor.accurite_garage_temperature.state|round}} degrees with a humidity of {{states.sensor.accurite_garage_humidity.state|round}} percent.
{% endmacro %}
{% macro daily_forecast() %}
The rest of the day should be {{states.sensor.dark_sky_summary_0d.state}} with a high of {{states.sensor.dark_sky_daytime_high_temperature_0d.state|round}} degrees. There is a {{states.sensor.dark_sky_precip_probability_0d.state|round}} percent chance of rain.
{% endmacro %}
{% macro overnight_forecast() %}
The low tonight will be {{states.sensor.dark_sky_overnight_low_temperature_0d.state | round}} degrees and there is a {{states.sensor.dark_sky_precip_probability_0d.state|round}} percent chance of rain.
{% endmacro %}
{% macro future_forecast() %}
Looking into the future you can expect {{states.sensor.dark_sky_daily_summary.state}}.
{% endmacro %}
{% macro upcoming_birthdays() %}
{% if states.sensor.birthday_skylar.state | int == 1 %}
Tomorrow is Skylar's Birthday.
{% endif %}
{% if states.sensor.birthday_jeff.state | int == 1 %}
Tomorrow is Jeff's Birthday.
{% endif %}
{% if states.sensor.birthday_kat.state | int == 1 %}
Tomorrow is Katherine's Birthday.
{% endif %}
{% if states.sensor.anniversary_our_wedding.state | int == 1 %}
Tomorrow is Jeff and Katherine's Wedding Anniversary.
{% endif %}
{% endmacro %}
{% macro upcoming_holidays() %}
{% if states.sensor.holiday_halloween.state | int == 1 %}
Tomorrow is Halloween. I hope you have picked out a costume.
{{["I'll be going as a dumb home. ",
"I've prepped the scary music. Just in case.",
"I'll be going as HAL 9000. The Pod Bay Doors are being installed today."
]| random }}
{% elif states.sensor.holiday_halloween.state | int < 30 %}
{{["There are only {{states.sensor.holiday_halloween.state}} days until Halloween.",
"Halloween is only {{states.sensor.holiday_halloween.state}} days away. It might not be enough time. ",
"Halloween is coming. {{states.sensor.holiday_halloween.state}} days and counting.",
"Only {{states.sensor.holiday_halloween.state}} days until Halloween.",
"You have {{states.sensor.holiday_halloween.state}} days until you need a costume."
]| random }}
{% else %}
{% endif %}
{% if states.sensor.holiday_christmas.state | int == 1 %}
Tomorrow is Christmas. It's practically here! Santa is coming tonight! Don't forget the cookies!
{% elif states.sensor.holiday_christmas.state | int < 25 %}
There are only {{states.sensor.holiday_christmas.state}} days until christmas.
{% else %}
{% endif %}
{% endmacro %}
{% macro skylar_dressed() %}
Skylar,
{% if is_state("sensor.birthday_skylar", "0") %}
Even birthday boys have to get dressed. So get to it.
"You only have thirty minutes until bedtime. That means you should be heading for the bathtub."
"I cannot comminicate with the bathtub otherwise I would have started the water for you already, so you will have to do it manually. It's bath time. ",
At last check was {{states.sensor.kat_ett_home.attributes.duration | round}} minutes from home.
{% else %}
{% if is_state("sensor.kat_location", "Lost") %}
Katherine is lost, but at last check was {{states.sensor.kat_ett_home.attributes.duration | round}} minutes from home.
{% else %}
I have located Katherine. She is at {{ states.sensor.kat_location.state }}, and
at last check was {{states.sensor.kat_ett_home.attributes.duration | round}} minutes from home.
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% endmacro %}
{% macro jeff_headed_home() %}
Jeff appears to be headed home. Based on current traffic conditions he should be here in {{states.sensor.jeff_ett_home.attributes.duration | round}} minutes.
{% endmacro %}
{% macro kat_headed_home() %}
Katherine appears to be headed home. Based on current traffic conditions she should be here in {{states.sensor.kat_ett_home.attributes.duration | round}} minutes.
{% endmacro %}
{% macro traffic_conditions() %}
{%- if states.sensor.home_to_zoo.state|round > 50 %}
Traffic to the Zoo appears heavy than normnal.
{% else %}
Traffic to the Zoo is normal.
{% endif %}
Currently it will take {{states.sensor.home_to_zoo.state|round}} minutes to get to the Zoo.
{%- if states.sensor.home_to_summit.state|round > 50 %}
Traffic to the Cox Automotive appears heavy than normnal.
{% else %}
Traffic to the Cox is normal.
{% endif %}
Currently it will take {{states.sensor.home_to_summit.state|round}} minutes to get to Cox Automotive.
{% endmacro %}
{% macro iss() %}
{{[
"But the International Space Station is passing over. Wave.",
"But The International Space Station just flew by.",
"But if you were to look up right now, and it was dark outside, and you happened to be looking in the right place you would see the International Space Station go by. But it's already passed by now."
]| random}}
{% endmacro %}
{% macro security_report() %}
{%- if states.input_boolean.sentry_mode.state == 'on' %}
{{[
"Sentry Mode is enabled.",
"Sentry mode is currently active.",
"Barn Door Protocol is currently in effect.",
"My security system is currently armed."
]| random}}
{% else %}
{{[
"Sentry Mode is disabled.",
"Sentry mode is currently active.",
"My security system is currently disarmed."
]| random}}
{% endif %}
{%- if states.group.external_doors.state == 'off' %}
All external doors are secured.
{% else %}
The following doors are open,
{%- if states.binary_sensor.front_door.state == 'on' %}
Front Door.
{% endif %}
{%- if states.binary_sensor.back_door.state == 'on' %}
Back Door.
{% endif %}
{%- if states.binary_sensor.laundry_room_door.state == 'on' %}
Laundry Room Door.
{% endif %}
{%- if states.binary_sensor.garage_door.state == 'on' %}
Garage Door.
{% endif %}
{%- if states.binary_sensor.side_door.state == 'on' %}
Side Door.
{% endif %}
{% endif %}
{% endmacro %}
{%- macro washer_needs_emptying() -%}
{{[
"Just a reminder. Washing machine needs to be emptied.",
"I'm sure you have more inportant things to do, but the washing machine needs to be emptied.",
"Looks like the washing machine has completed it's cycle.",