Cleaned up some grammar and spelling
This commit is contained in:
@ -118,30 +118,30 @@ sensor:
|
|||||||
{{ [
|
{{ [
|
||||||
'Today in Defiance ',
|
'Today in Defiance ',
|
||||||
'Later Today ',
|
'Later Today ',
|
||||||
'For the rest of the day'
|
'For the rest of the day '
|
||||||
] | random }}
|
] | random }}
|
||||||
expect a high of {{ state_attr('sensor.current_forecast','high_temp') }}
|
expect a high of {{ state_attr('sensor.current_forecast','high_temp') }}
|
||||||
{%- if states('sensor.current_forecast') == 'sunny' and is_state('binary_sensor.night','off')%}
|
{%- if states('sensor.current_forecast') == 'sunny' and is_state('binary_sensor.night','off')%}
|
||||||
{{ [
|
{{ [
|
||||||
'and sunny.',
|
'and sunny. ',
|
||||||
'with sun.',
|
'with sun. ',
|
||||||
'with sunny conditions prevailing.'
|
'with sunny conditions prevailing. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'sunny' and is_state('binary_sensor.night','on') %}
|
{%- elif states('sensor.current_forecast') == 'sunny' and is_state('binary_sensor.night','on') %}
|
||||||
{{ [
|
{{ [
|
||||||
'and clear.',
|
'and clear. ',
|
||||||
'with clear skies.'
|
'with clear skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'clear-night' %}
|
{%- elif states('sensor.current_forecast') == 'clear-night' %}
|
||||||
{{ [
|
{{ [
|
||||||
'and clear.',
|
'and clear. ',
|
||||||
'with clear skies.'
|
'with clear skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'rainy' %}
|
{%- elif states('sensor.current_forecast') == 'rainy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with rain.',
|
'with rain. ',
|
||||||
'with showers.',
|
'with showers. ',
|
||||||
'and rainy.'
|
'and rainy. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Rainfall accumulations ',
|
'Rainfall accumulations ',
|
||||||
@ -151,8 +151,8 @@ sensor:
|
|||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.current_forecast') == 'snowy' %}
|
{%- elif states('sensor.current_forecast') == 'snowy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with snow.',
|
'with snow. ',
|
||||||
'with snow showers.'
|
'with snow showers. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Snowfall accumulations ',
|
'Snowfall accumulations ',
|
||||||
@ -162,36 +162,36 @@ sensor:
|
|||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.current_forecast') == 'snowy-rainy' %}
|
{%- elif states('sensor.current_forecast') == 'snowy-rainy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with mix preciptation possible.',
|
'with mix preciptation possible. ',
|
||||||
'with snow and rain showers.'
|
'with snow and rain showers. '
|
||||||
] | random }}
|
] | random }}
|
||||||
Total accumulation near {{ state_attr('sensor.current_forecast','precipitation') }} inches
|
Total accumulation near {{ state_attr('sensor.current_forecast','precipitation') }} inches
|
||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.current_forecast') == 'windy' %}
|
{%- elif states('sensor.current_forecast') == 'windy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'and windy.',
|
'and windy. ',
|
||||||
'with lots of wind.'
|
'with lots of wind. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'fog' %}
|
{%- elif states('sensor.current_forecast') == 'fog' %}
|
||||||
{{ [
|
{{ [
|
||||||
'and foggy.',
|
'and foggy. ',
|
||||||
'with some fog.'
|
'with some fog. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif states('sensor.current_forecast') == 'cloudy' %}
|
{% elif states('sensor.current_forecast') == 'cloudy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with clouds.',
|
'with clouds. ',
|
||||||
'with cloudy skies.'
|
'with cloudy skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif states('sensor.current_forecast') == 'partlycloudy' %}
|
{% elif states('sensor.current_forecast') == 'partlycloudy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with some clouds.',
|
'with some clouds. ',
|
||||||
'with partly cloudy skies.',
|
'with partly cloudy skies. ',
|
||||||
'with scattered clouds'
|
'with scattered clouds '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'hail' %}
|
{%- elif states('sensor.current_forecast') == 'hail' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with severve thunderstorms possible.',
|
'with severe thunderstorms possible. ',
|
||||||
'with hail possible.'
|
'with hail possible. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Rainfall accumulations ',
|
'Rainfall accumulations ',
|
||||||
@ -201,8 +201,8 @@ sensor:
|
|||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.current_forecast') == 'lightning' %}
|
{%- elif states('sensor.current_forecast') == 'lightning' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with thunderstorms possible.',
|
'with thunderstorms possible. ',
|
||||||
'with the potential of thunderstorms.'
|
'with the potential of thunderstorms. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Rainfall accumulations ',
|
'Rainfall accumulations ',
|
||||||
@ -266,15 +266,15 @@ sensor:
|
|||||||
expect a high of {{ state_attr('sensor.tomorrow_forecast','high_temp') }}
|
expect a high of {{ state_attr('sensor.tomorrow_forecast','high_temp') }}
|
||||||
{%- if states('sensor.tomorrow_forecast') == 'sunny' %}
|
{%- if states('sensor.tomorrow_forecast') == 'sunny' %}
|
||||||
{{ [
|
{{ [
|
||||||
'and sunny.',
|
'and sunny. ',
|
||||||
'with sun.',
|
'with sun. ',
|
||||||
'with sunny conditions prevailing.'
|
'with sunny conditions prevailing. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.tomorrow_forecast') == 'rainy' %}
|
{%- elif states('sensor.tomorrow_forecast') == 'rainy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with rain.',
|
'with rain. ',
|
||||||
'with showers.',
|
'with showers. ',
|
||||||
'and rainy.'
|
'and rainy. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Rainfall accumulations ',
|
'Rainfall accumulations ',
|
||||||
@ -284,8 +284,8 @@ sensor:
|
|||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.tomorrow_forecast') == 'snowy' %}
|
{%- elif states('sensor.tomorrow_forecast') == 'snowy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with snow.',
|
'with snow. ',
|
||||||
'with snow showers.'
|
'with snow showers. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Snowfall accumulations ',
|
'Snowfall accumulations ',
|
||||||
@ -295,36 +295,36 @@ sensor:
|
|||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.tomorrow_forecast') == 'snowy-rainy' %}
|
{%- elif states('sensor.tomorrow_forecast') == 'snowy-rainy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with mix preciptation possible.',
|
'with mix preciptation possible. ',
|
||||||
'with snow and rain showers.'
|
'with snow and rain showers. '
|
||||||
] | random }}
|
] | random }}
|
||||||
Total accumulation near {{ state_attr('sensor.tomorrow_forecast','precipitation') }} inches
|
Total accumulation near {{ state_attr('sensor.tomorrow_forecast','precipitation') }} inches
|
||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.tomorrow_forecast') == 'windy' %}
|
{%- elif states('sensor.tomorrow_forecast') == 'windy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'and windy.',
|
'and windy. ',
|
||||||
'with lots of wind.'
|
'with lots of wind. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'fog' %}
|
{%- elif states('sensor.current_forecast') == 'fog' %}
|
||||||
{{ [
|
{{ [
|
||||||
'and foggy.',
|
'and foggy. ',
|
||||||
'with some fog.'
|
'with some fog. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif states('sensor.tomorrow_forecast') == 'cloudy' %}
|
{% elif states('sensor.tomorrow_forecast') == 'cloudy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with clouds.',
|
'with clouds. ',
|
||||||
'with cloudy skies.'
|
'with cloudy skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif states('sensor.tomorrow_forecast') == 'partlycloudy' %}
|
{% elif states('sensor.tomorrow_forecast') == 'partlycloudy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with some clouds.',
|
'with some clouds. ',
|
||||||
'with partly cloudy skies.',
|
'with partly cloudy skies. ',
|
||||||
'with scattered clouds'
|
'with scattered clouds '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.tomorrow_forecast') == 'hail' %}
|
{%- elif states('sensor.tomorrow_forecast') == 'hail' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with severve thunderstorms possible.',
|
'with severe thunderstorms possible. ',
|
||||||
'with hail possible.'
|
'with hail possible. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Rainfall accumulations ',
|
'Rainfall accumulations ',
|
||||||
@ -334,8 +334,8 @@ sensor:
|
|||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.current_forecast') == 'lightning' %}
|
{%- elif states('sensor.current_forecast') == 'lightning' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with thunderstorms possible.',
|
'with thunderstorms possible. ',
|
||||||
'with the potential of thunderstorms.'
|
'with the potential of thunderstorms. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Rainfall accumulations ',
|
'Rainfall accumulations ',
|
||||||
@ -375,30 +375,30 @@ sensor:
|
|||||||
{{states('sensor.pirateweather_temperature')|round}} degrees
|
{{states('sensor.pirateweather_temperature')|round}} degrees
|
||||||
{% if is_state('weather.iron_nerd_weather_station', 'rainy') %}
|
{% if is_state('weather.iron_nerd_weather_station', 'rainy') %}
|
||||||
{{ [
|
{{ [
|
||||||
'with rain.',
|
'with rain. ',
|
||||||
'with showers.'
|
'with showers. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif is_state('weather.iron_nerd_weather_station', 'cloudy') %}
|
{% elif is_state('weather.iron_nerd_weather_station', 'cloudy') %}
|
||||||
{{ [
|
{{ [
|
||||||
'with clouds.',
|
'with clouds. ',
|
||||||
'with cloudy skies.'
|
'with cloudy skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif is_state('weather.iron_nerd_weather_station', 'partlycloudy') %}
|
{% elif is_state('weather.iron_nerd_weather_station', 'partlycloudy') %}
|
||||||
{{ [
|
{{ [
|
||||||
'with some clouds.',
|
'with some clouds. ',
|
||||||
'with partly cloudy skies.',
|
'with partly cloudy skies. ',
|
||||||
'with scatterd clouds'
|
'with scatterd clouds '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif is_state('weather.iron_nerd_weather_station', 'sunny') %}
|
{% elif is_state('weather.iron_nerd_weather_station', 'sunny') %}
|
||||||
{% if is_state('sun.sun', 'above_horizon') %}
|
{% if is_state('sun.sun', 'above_horizon') %}
|
||||||
{{ [
|
{{ [
|
||||||
'and sunny.',
|
'and sunny. ',
|
||||||
'with sun.'
|
'with sun. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ [
|
{{ [
|
||||||
'and clear.',
|
'and clear. ',
|
||||||
'with clear skies.'
|
'with clear skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -431,30 +431,30 @@ sensor:
|
|||||||
{{states('sensor.pirateweather_temperature')|round}} degrees
|
{{states('sensor.pirateweather_temperature')|round}} degrees
|
||||||
{% if is_state('weather.iron_nerd_weather_station', 'rainy') %}
|
{% if is_state('weather.iron_nerd_weather_station', 'rainy') %}
|
||||||
{{ [
|
{{ [
|
||||||
'with rain.',
|
'with rain. ',
|
||||||
'with showers.'
|
'with showers. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif is_state('weather.iron_nerd_weather_station', 'cloudy') %}
|
{% elif is_state('weather.iron_nerd_weather_station', 'cloudy') %}
|
||||||
{{ [
|
{{ [
|
||||||
'with clouds.',
|
'with clouds. ',
|
||||||
'with cloudy skies.'
|
'with cloudy skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif is_state('weather.iron_nerd_weather_station', 'partlycloudy') %}
|
{% elif is_state('weather.iron_nerd_weather_station', 'partlycloudy') %}
|
||||||
{{ [
|
{{ [
|
||||||
'with some clouds.',
|
'with some clouds. ',
|
||||||
'with partly cloudy skies.',
|
'with partly cloudy skies. ',
|
||||||
'with scatterd clouds'
|
'with scatterd clouds '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif is_state('weather.iron_nerd_weather_station', 'sunny') %}
|
{% elif is_state('weather.iron_nerd_weather_station', 'sunny') %}
|
||||||
{% if is_state('sun.sun', 'above_horizon') %}
|
{% if is_state('sun.sun', 'above_horizon') %}
|
||||||
{{ [
|
{{ [
|
||||||
'and sunny.',
|
'and sunny. ',
|
||||||
'with sun.'
|
'with sun. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ [
|
{{ [
|
||||||
'and clear.',
|
'and clear. ',
|
||||||
'with clear skies.'
|
'with clear skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -463,30 +463,30 @@ sensor:
|
|||||||
{%- if is_state('binary_sensor.night','off')%}
|
{%- if is_state('binary_sensor.night','off')%}
|
||||||
{{ [
|
{{ [
|
||||||
'Later Today ',
|
'Later Today ',
|
||||||
'For the rest of the day'
|
'For the rest of the day '
|
||||||
] | random }}
|
] | random }}
|
||||||
expect a high of {{ state_attr('sensor.current_forecast','high_temp') }}
|
expect a high of {{ state_attr('sensor.current_forecast','high_temp') }}
|
||||||
{%- if states('sensor.current_forecast') == 'sunny' and is_state('binary_sensor.night','off')%}
|
{%- if states('sensor.current_forecast') == 'sunny' and is_state('binary_sensor.night','off')%}
|
||||||
{{ [
|
{{ [
|
||||||
'and sunny.',
|
'and sunny. ',
|
||||||
'with sun.',
|
'with sun. ',
|
||||||
'with sunny conditions prevailing.'
|
'with sunny conditions prevailing. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'sunny' and is_state('binary_sensor.night','on') %}
|
{%- elif states('sensor.current_forecast') == 'sunny' and is_state('binary_sensor.night','on') %}
|
||||||
{{ [
|
{{ [
|
||||||
'and clear.',
|
'and clear. ',
|
||||||
'with clear skies.'
|
'with clear skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'clear-night' %}
|
{%- elif states('sensor.current_forecast') == 'clear-night' %}
|
||||||
{{ [
|
{{ [
|
||||||
'and clear.',
|
'and clear. ',
|
||||||
'with clear skies.'
|
'with clear skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'rainy' %}
|
{%- elif states('sensor.current_forecast') == 'rainy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with rain.',
|
'with rain. ',
|
||||||
'with showers.',
|
'with showers. ',
|
||||||
'and rainy.'
|
'and rainy. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Rainfall accumulations ',
|
'Rainfall accumulations ',
|
||||||
@ -496,8 +496,8 @@ sensor:
|
|||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.current_forecast') == 'snowy' %}
|
{%- elif states('sensor.current_forecast') == 'snowy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with snow.',
|
'with snow. ',
|
||||||
'with snow showers.'
|
'with snow showers. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Snowfall accumulations ',
|
'Snowfall accumulations ',
|
||||||
@ -507,36 +507,36 @@ sensor:
|
|||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.current_forecast') == 'snowy-rainy' %}
|
{%- elif states('sensor.current_forecast') == 'snowy-rainy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with mix preciptation possible.',
|
'with mix preciptation possible. ',
|
||||||
'with snow and rain showers.'
|
'with snow and rain showers. '
|
||||||
] | random }}
|
] | random }}
|
||||||
Total accumulation near {{ state_attr('sensor.current_forecast','precipitation') }} inches
|
Total accumulation near {{ state_attr('sensor.current_forecast','precipitation') }} inches
|
||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.current_forecast') == 'windy' %}
|
{%- elif states('sensor.current_forecast') == 'windy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'and windy.',
|
'and windy. ',
|
||||||
'with lots of wind.'
|
'with lots of wind. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'fog' %}
|
{%- elif states('sensor.current_forecast') == 'fog' %}
|
||||||
{{ [
|
{{ [
|
||||||
'and foggy.',
|
'and foggy. ',
|
||||||
'with some fog.'
|
'with some fog. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif states('sensor.current_forecast') == 'cloudy' %}
|
{% elif states('sensor.current_forecast') == 'cloudy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with clouds.',
|
'with clouds. ',
|
||||||
'with cloudy skies.'
|
'with cloudy skies. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{% elif states('sensor.current_forecast') == 'partlycloudy' %}
|
{% elif states('sensor.current_forecast') == 'partlycloudy' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with some clouds.',
|
'with some clouds. ',
|
||||||
'with partly cloudy skies.',
|
'with partly cloudy skies. ',
|
||||||
'with scattered clouds'
|
'with scattered clouds. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- elif states('sensor.current_forecast') == 'hail' %}
|
{%- elif states('sensor.current_forecast') == 'hail' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with severve thunderstorms possible.',
|
'with severe thunderstorms possible. ',
|
||||||
'with hail possible.'
|
'with hail possible. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Rainfall accumulations ',
|
'Rainfall accumulations ',
|
||||||
@ -546,8 +546,8 @@ sensor:
|
|||||||
possible.
|
possible.
|
||||||
{%- elif states('sensor.current_forecast') == 'lightning' %}
|
{%- elif states('sensor.current_forecast') == 'lightning' %}
|
||||||
{{ [
|
{{ [
|
||||||
'with thunderstorms possible.',
|
'with thunderstorms possible. ',
|
||||||
'with the potential of thunderstorms.'
|
'with the potential of thunderstorms. '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{ [
|
{{ [
|
||||||
'Rainfall accumulations ',
|
'Rainfall accumulations ',
|
||||||
|
Reference in New Issue
Block a user