the small one
service: open_epaper_link.drawcustom
target:
entity_id:
- open_epaper_link.0000021a7d233b1b
data:
background: white
rotate: 270
payload:
- type: text
value: >-
{{
['Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag','Sonntag'][now().weekday()]
}}
font: /media/fonts/CascadiaCode.ttf
x: 0
"y": 1
size: 20
color: black
- type: text
value: "{{ now().day }}"
font: /media/fonts/CascadiaCode.ttf
x: 0
"y": 25
size: 50
color: black
- type: text
value: "{{ now().month }}"
font: /media/fonts/CascadiaCode.ttf
x: 62
"y": 25
size: 50
color: black
- type: text
value: .
font: /media/fonts/CascadiaCode.ttf
x: 46
"y": 54
size: 50
color: red
- type: text
value: .
font: /media/fonts/CascadiaCode.ttf
x: 108
"y": 54
size: 50
color: red
- type: icon
value: weather-sunset
x: 5
"y": 92
size: 27
color: black
- type: text
value: >-
{{as_timestamp(states.sun.sun.attributes.next_rising) |
timestamp_custom(" %H:%M") | string }}
font: /media/fonts/CascadiaCode.ttf
x: 33
"y": 80
size: 30
color: black
- type: text
value: >-
{{as_timestamp(states.sun.sun.attributes.next_setting) |
timestamp_custom(" %H:%M") | string }}
font: /media/fonts/CascadiaCode.ttf
x: 33
"y": 110
size: 30
color: black
- type: text
value: >-
{% set temp = (state_attr('weather.home', 'forecast')[0].templow |
float) | round(0)|string %} {% if temp|length == 1 %} {{temp ~ "Ā°"}}
{% elif temp|length == 2 %} {{temp ~ "Ā°"}} {% elif temp|length == 3 %}
{{temp}} {% endif %}
font: /media/fonts/CascadiaCode.ttf
x: >-
{% set temp = (state_attr('weather.home', 'forecast')[0].templow |
float) | round(0)|string %} {% if temp|length == 1 %} 89 {% elif
temp|length == 2 %} 70 {% elif temp|length == 3 %} {{temp}} 70 {% endif
%}
"y": 150
size: 30
color: >-
{% set temp = (state_attr('weather.home', 'forecast')[0].templow |
float) | round(0) %} {% if temp < 3 %} red {% else %} black {% endif %}
- type: text
value: >-
{% set temp = (state_attr('weather.home', 'forecast')[0].temperature |
float) | round(0)|string %} {% if temp|length == 1 %} {{temp ~ "Ā°"}}
{% elif temp|length == 2 %} {{temp ~ "Ā°"}} {% elif temp|length == 3 %}
{{temp}} {% endif %}
font: /media/fonts/CascadiaCode.ttf
x: >-
{% set temp = (state_attr('weather.home', 'forecast')[0].temperature |
float) | round(0)|string %} {% if temp|length == 1 %} 89 {% elif
temp|length == 2 %} 70 {% elif temp|length == 3 %} {{temp}} 70 {% endif
%}
"y": 180
size: 30
color: >-
{% set temp = (state_attr('weather.home', 'forecast')[0].temperature |
float) | round(0) %} {% if temp < 3 %} red {% else %} black {% endif
%}
- type: text
value: >-
{% set temp = (state_attr('weather.home', 'forecast')[1].templow |
float) | round(0)|string %} {% if temp|length == 1 %} {{temp ~ "Ā°"}}
{% elif temp|length == 2 %} {{temp ~ "Ā°"}} {% elif temp|length == 3 %}
{{temp}} {% endif %}
font: /media/fonts/CascadiaCode.ttf
x: >-
{% set temp = (state_attr('weather.home', 'forecast')[1].templow |
float) | round(0)|string %} {% if temp|length == 1 %} 89 {% elif
temp|length == 2 %} 70 {% elif temp|length == 3 %} {{temp}} 70 {% endif
%}
"y": 220
size: 30
color: >-
{% set temp = (state_attr('weather.home', 'forecast')[1].templow |
float) | round(0) %} {% if temp < 3 %} red {% else %} black {% endif %}
- type: text
value: >-
{% set temp = (state_attr('weather.home', 'forecast')[1].temperature |
float) | round(0)|string %} {% if temp|length == 1 %} {{temp ~ "Ā°"}}
{% elif temp|length == 2 %} {{temp ~ "Ā°"}} {% elif temp|length == 3 %}
{{temp}} {% endif %}
font: /media/fonts/CascadiaCode.ttf
x: >-
{% set temp = (state_attr('weather.home', 'forecast')[1].temperature |
float) | round(0)|string %} {% if temp|length == 1 %} 89 {% elif
temp|length == 2 %} 70 {% elif temp|length == 3 %} {{temp}} 70 {% endif
%}
"y": 250
size: 30
color: >-
{% set temp = (state_attr('weather.home', 'forecast')[1].temperature |
float) | round(0) %} {% if temp < 3 %} red {% else %} black {% endif
%}
- type: icon
value: >-
{% set condition = state_attr('weather.home', 'forecast')[0].condition
%} {%if (condition == "clearsky") %} {{"weather-sunny"}}
{%elif(condition == "cloudy")%} {{"weather-cloudy"}} {%elif (condition
== "fair")%} {{"weather-sunny"}} {%elif (condition == "fog")%}
{{"weather-fog"}} {%elif (condition == "heavyrain")%}
{{"weather-pouring"}} {%elif (condition == "heavyrainandthunder")%}
{{"weather-lightning-rainy"}} {%elif (condition == "heavyrainshowers")%}
{{"weather-pouring"}} {%elif (condition ==
"heavyrainshowersandthunder")%} {{"weather-fog"}} {%elif (condition ==
"heavysleet")%} {{"weather-snowy-heavy"}} {%elif (condition ==
"heavysleetandthunder")%} {{"weather-snowy-heavy"}} {%elif (condition ==
"heavysleetshowers")%} {{"weather-snowy-rainy"}} {%elif (condition ==
"heavysleetshowersandthunder")%} {{"weather-snowy-rainy"}} {%elif
(condition == "heavysnow")%} {{"weather-snowy-heavy"}} {%elif
(condition == "heavysnowandthunder")%} {{"wweather-snowy-rainy"}}
{%elif (condition == "heavysnowshowers")%} {{"weather-snowy-heavy"}}
{%elif (condition == "heavysnowshowersandthunder")%}
{{"weather-snowy-heavy"}} {%elif (condition == "lightrain")%}
{{"weather-rainy"}} {%elif (condition == "lightrainandthunder")%}
{{"weather-lightning-rainy"}} {%elif (condition ==
"lightrainshowers")%} {{"weather-partly-rainy"}} {%elif (condition ==
"lightrainshowersandthunder")%} {{"weather-partly-lightning"}} {%elif
(condition == "lightsleet")%} {{"weather-snowy-rainy"}} {%elif
(condition == "lightsleetandthunder")%} {{"weather-snowy-rainy"}}
{%elif (condition == "lightsleetshowers")%} {{"weather-snowy-rainy"}}
{%elif (condition == "lightsnow")%} {{"weather-snowy"}} {%elif
(condition == "lightsnowandthunder")%} {{"weather-snowy"}} {%elif
(condition == "lightsnowshowers")%} {{"weather-snowy-rainy"}} {%elif
(condition == "lightssleetshowersandthunder")%}
{{"weather-snowy-rainy"}} {%elif (condition ==
"lightssnowshowersandthunder")%} {{"weather-snowy-rainy"}} {%elif
(condition == "partlycloudy")%} {{"weather-partly-cloudy"}} {%elif
(condition == "rainy")%} {{"weather-rainy"}} {%elif (condition ==
"rainandthunder")%} {{"weather-lightning-rainy"}} {%elif (condition ==
"rainshowers")%} {{"weather-partly-rainy"}} {%elif (condition ==
"rainshowersandthunder")%} {{"weather-lightning-rainy"}} {%elif
(condition == "sleet")%} {{"weather-snowy"}} {%elif (condition ==
"sleetandthunder")%} {{"weather-snowy"}} {%elif (condition ==
"sleetshowers")%} {{"weather-snowy"}} {%elif (condition ==
"sleetshowersandthunder")%} {{"weather-snowy"}} {%elif (condition ==
"snow")%} {{"weather-snowy"}} {%elif (condition == "snowandthunder")%}
{{"weather-snowy"}} {%elif (condition == "snowshowers")%}
{{"weather-snowy"}} {%elif (condition == "snowshowersandthunder")%}
{{"weather-snowy"}} {% else %} {{"cloud-question"}} {% endif %}
x: 12
"y": 145
size: 55
color: black
- type: icon
value: >-
{% set condition = state_attr('weather.home', 'forecast')[1].condition
%} {%if (condition == "clearsky") %} {{"weather-sunny"}} {%elif
(condition == "cloudy")%} {{"weather-cloudy"}} {%elif (condition ==
"fair")%} {{"weather-sunny"}} {%elif (condition == "fog")%}
{{"weather-fog"}} {%elif (condition == "heavyrain")%}
{{"weather-pouring"}} {%elif (condition == "heavyrainandthunder")%}
{{"weather-lightning-rainy"}} {%elif (condition == "heavyrainshowers")%}
{{"weather-pouring"}} {%elif (condition ==
"heavyrainshowersandthunder")%} {{"weather-fog"}} {%elif (condition ==
"heavysleet")%} {{"weather-snowy-heavy"}} {%elif (condition ==
"heavysleetandthunder")%} {{"weather-snowy-heavy"}} {%elif (condition ==
"heavysleetshowers")%} {{"weather-snowy-rainy"}} {%elif (condition ==
"heavysleetshowersandthunder")%} {{"weather-snowy-rainy"}} {%elif
(condition == "heavysnow")%} {{"weather-snowy-heavy"}} {%elif
(condition == "heavysnowandthunder")%} {{"wweather-snowy-rainy"}}
{%elif (condition == "heavysnowshowers")%} {{"weather-snowy-heavy"}}
{%elif (condition == "heavysnowshowersandthunder")%}
{{"weather-snowy-heavy"}} {%elif (condition == "lightrain")%}
{{"weather-rainy"}} {%elif (condition == "lightrainandthunder")%}
{{"weather-lightning-rainy"}} {%elif (condition ==
"lightrainshowers")%} {{"weather-partly-rainy"}} {%elif (condition ==
"lightrainshowersandthunder")%} {{"weather-partly-lightning"}} {%elif
(condition == "lightsleet")%} {{"weather-snowy-rainy"}} {%elif
(condition == "lightsleetandthunder")%} {{"weather-snowy-rainy"}}
{%elif (condition == "lightsleetshowers")%} {{"weather-snowy-rainy"}}
{%elif (condition == "lightsnow")%} {{"weather-snowy"}} {%elif
(condition == "lightsnowandthunder")%} {{"weather-snowy"}} {%elif
(condition == "lightsnowshowers")%} {{"weather-snowy-rainy"}} {%elif
(condition == "lightssleetshowersandthunder")%}
{{"weather-snowy-rainy"}} {%elif (condition ==
"lightssnowshowersandthunder")%} {{"weather-snowy-rainy"}} {%elif
(condition == "partlycloudy")%} {{"weather-partly-cloudy"}} {%elif
(condition == "rainy")%} {{"weather-rainy"}} {%elif (condition ==
"rainandthunder")%} {{"weather-lightning-rainy"}} {%elif (condition ==
"rainshowers")%} {{"weather-partly-rainy"}} {%elif (condition ==
"rainshowersandthunder")%} {{"weather-lightning-rainy"}} {%elif
(condition == "sleet")%} {{"weather-snowy"}} {%elif (condition ==
"sleetandthunder")%} {{"weather-snowy"}} {%elif (condition ==
"sleetshowers")%} {{"weather-snowy"}} {%elif (condition ==
"sleetshowersandthunder")%} {{"weather-snowy"}} {%elif (condition ==
"snow")%} {{"weather-snowy"}} {%elif (condition == "snowandthunder")%}
{{"weather-snowy"}} {%elif (condition == "snowshowers")%}
{{"weather-snowy"}} {%elif (condition == "snowshowersandthunder")%}
{{"weather-snowy"}} {% else %} {{"cloud-question"}} {% endif %}
x: 12
"y": 220
size: 55
color: black