Anyone looked into using Electronic Price Tag screens with HA?

I thought it might be this but it doesn’t change the check in to home base time

Ah ok, no You could also change this setting “Maximum sleep” to half an hour or hour to save battery probably.

Understood. I was on 40 seconds.

I’m wondering if I change that if I can have a mix of tags that are on 40s and some on perhaps much longer.

EDIT: Maybe the TimeToLive setting in my screenshot above would work if I increase the maximum.

EDIT: No, that does not seem to increase the check in time.

EDIT: Actually… the check in time is creeping up over time.

Thanks, it’s back in stock now!

There has been a few products mentioned in this thread- could you be more specific with a link?

https://openepaperlink.de/

I know these are meant to attach to a shelf. I need to figure out how to attach this little guy to my pump sprayer! I never know what product is in each of my pump sprayers. With the small epaper I can mark what is in the pump sprayer and a link to the product page.

I missed the window- out of stock again.

Has anyone tried payload type multiline? It is not working for me. I am trying to list calendar events and I don’t want to fix the count of the lines. I want to loop the all the events and list them in a new line. From the description here https://github.com/jonasniesner/open_epaper_link_homeassistant/blob/dee31d6041d0a8b612a269ff29847d6fec323aae/docs/drawcustom/supported_types.md#multiline is what I need but that is not working for me and I see this error message
Failed to call service open_epaper_link.drawcustom. Unknown error

hmm, strange indeed. Just tried this in developer tools, and also get
“Failed to call service open_epaper_link.drawcustom. Unknown error”

Other type like text and icon work fine.

service: open_epaper_link.drawcustom
target:
  entity_id:
    - open_epaper_link.00000282dd003b11
data:
  background: white
  rotate: 90
  payload:
    - type: multiline
      value: "adb|asd"
      delimiter: "|"
      font: "ppb.ttf"
      x: 0
      size: 40
      color: red

The details of the log message are:

[140006031992000] Error handling message: Unknown error (unknown_error) john from 192.168.178.81 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 731, in handle_execute_script
    script_result = await script_obj.async_run(msg.get("variables"), context=context)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1578, in async_run
    return await asyncio.shield(run.async_run())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 420, in async_run
    await self._async_step(log_exceptions=False)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 470, in _async_step
    self._handle_exception(
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 493, in _handle_exception
    raise exception
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 704, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 666, in _async_run_long_action
    return long_task.result()
           ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/open_epaper_link/__init__.py", line 20, in drawcustomservice
    imgbuff = customimage(entity_id, service, hass)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/open_epaper_link/imagegen.py", line 195, in customimage
    pos = pos_y + + element['y_padding']
                    ~~~~~~~^^^^^^^^^^^^^
KeyError: 'y_padding'

I have the same error log message. I documented that in the HA Integration github. Hopefully that will be helpful for the dev. Yes, all other payload types are working for me too.

@zarqeon helped me to identify my issue and the workaround. It turned out there are more required fields that I need to provide. Here is an example that worked for me.

- type: multiline
    value: "adb|asd"
    delimiter: "|"
    font: "ppb.ttf"
    offset_y: 50
    x: 0
    size: 40
    color: black
    y_padding: 10

I ordered and received the AP and some tags. Really neat, the setup is really easy, not sure if i even needed to install the ESPHome integration, it just works somehow. As someone mentioned above, the trickiest part seemed to open the backs of of the tags to put in the batteries (hint: don’t be too careful).

Has anyone successfully used the 2.9"" tags vertically?

APs back in stock! Sadly can only order 5 displays with an AP atm, when I really wanted to order more. Can’t wait to try this out though :slightly_smiling_face:

1 Like

I’m having problems with this - the AP - when it starts up - says that Check_circle has failed - and there is a red dot with failed next to it on the rhs.

Looking at the access point tab; it correctly shows the address and build date etc.

I haven’t added any tags yet (got to get some batteries) but is that why I’m getting this error?

Secondly, when I add OpenEPaperLink to HA using the openepaperlink.de website, it correctly loads, and I can add the IP address - but in the integrations part of HA, it says it needs configuring - where it is requesting a API key - which I don’t have - as far as I know. I think I’m missing something here!

I can see the openepaperlink integration though, but it is showing the AP run state as running, but the AP state as failed.

The AP itself flashes TSCO - so I suppose the tag originally came from Tesco😀

I am not really clear of the issue, few questions

1 Like

NIce…

Data from HA ?, and please share the code…

Yes! We need the code! Thank you!

the big one, it’s a work in progress

alias: tag000002CA6233483F
description: ""
trigger:
  - platform: time_pattern
    minutes: /15
condition:
  - condition: time
    after: "05:00:00"
    before: "23:00:00"
    weekday:
      - sat
      - fri
      - thu
      - wed
      - tue
      - mon
      - sun
action:
  - service: open_epaper_link.drawcustom
    target:
      entity_id:
        - open_epaper_link.000002CA6233483F
    data:
      background: white
      rotate: 0
      payload:
        - type: text
          value: >-
            {{
            ['Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag','Sonntag'][now().weekday()]
            }}
          font: /media/fonts/CascadiaCode.ttf
          x: 5
          "y": 5
          size: >-
            {% set tagesname =
            ['Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag','Sonntag']
            [now().weekday()]  %} {% if tagesname|length == 6 %} 52 {% elif
            tagesname|length == 7 %} 45 {% elif tagesname|length == 8 %} 40 {%
            elif tagesname|length == 10 %} 30 {% else %} 30 {% endif %}
          color: black
        - type: text
          value: >-
            {% set tagesdatum = now().day|string %} {% if tagesdatum|length == 1
            %} {{ "0" ~ tagesdatum }} {% else %} {{ tagesdatum }} {% endif %}
          font: /media/fonts/CascadiaCode.ttf
          x: 5
          "y": 42
          size: 50
          color: black
        - type: text
          value: >-
            {% set monatssdatum = now().month|string %} {% if
            monatssdatum|length == 1 %} {{ "0" ~ monatssdatum }} {% else %} {{
            monatssdatum }} {% endif %}
          font: /media/fonts/CascadiaCode.ttf
          x: 67
          "y": 42
          size: 50
          color: black
        - type: text
          value: "{{ now().strftime('%y') }}"
          font: /media/fonts/CascadiaCode.ttf
          x: 129
          "y": 42
          size: 50
          color: black
        - type: text
          value: .
          font: /media/fonts/CascadiaCode.ttf
          x: 51
          "y": 71
          size: 50
          color: red
        - type: text
          value: .
          font: /media/fonts/CascadiaCode.ttf
          x: 113
          "y": 71
          size: 50
          color: red
        - type: text
          value: >-
            {% set temp = (state_attr('weather.home', 'forecast')[0].templow |
            float) | round(0)|string  %} {% if temp|length == 1 %} {{"min " ~
            temp ~ "°"}} {% elif temp|length == 2 %} {{"min" ~ temp ~ "°"}} {%
            elif temp|length == 3 %} {{"min" ~ temp}} {% endif %}
          font: /media/fonts/CascadiaCode.ttf
          x: 230
          "y": 10
          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 %} {{"max " ~
            temp ~ "°"}} {% elif temp|length == 2 %} {{"max" ~ temp ~ "°"}} {%
            elif temp|length == 3 %} {{"max" ~ temp}} {% endif %}
          font: /media/fonts/CascadiaCode.ttf
          x: 230
          "y": 40
          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  %} {% set tag =
            ['Mo','Di','Mi','Do','Fr','Sa','So','Mo'][as_datetime(state_attr('weather.home',
            'forecast')[0].datetime).strftime('%u')|int] %} {% if temp|length ==
            1 %} {{tag ~ "  " ~ temp ~ "°"}} {% elif temp|length == 2 %} {{tag ~
            " " ~ temp ~ "°"}} {% elif temp|length == 3 %} {{tag ~ " " ~ temp}}
            {% endif %}
          font: /media/fonts/CascadiaCode.ttf
          x: 230
          "y": 100
          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 %} 302 {%
            elif temp|length == 2 %} 283 {% elif temp|length == 3 %} 283 {%
            endif %}
          "y": 130
          size: 30
          color: >-
            {% set temp = (state_attr('weather.home', 'forecast')[1].temperature
            | float) | round(0)  %} {% if temp < 3 %} red {% else %} black {%
            endif %} 
        - type: text
          value: >-
            {% set temp = (state_attr('weather.home', 'forecast')[2].templow |
            float) | round(0)|string  %} {% set tag =
            ['Mo','Di','Mi','Do','Fr','Sa','So','Mo'][as_datetime(state_attr('weather.home',
            'forecast')[1].datetime).strftime('%u')|int] %} {% if temp|length ==
            1 %} {{tag ~ "  " ~ temp ~ "°"}} {% elif temp|length == 2 %} {{tag ~
            " " ~ temp ~ "°"}} {% elif temp|length == 3 %} {{tag ~ " " ~ temp}}
            {% endif %}
          font: /media/fonts/CascadiaCode.ttf
          x: 230
          "y": 160
          size: 30
          color: >-
            {% set temp = (state_attr('weather.home', 'forecast')[2].templow |
            float) | round(0)  %} {% if temp < 3 %} red {% else %} black {%
            endif %}
        - type: text
          value: >-
            {% set temp = (state_attr('weather.home', 'forecast')[2].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')[2].temperature
            | float) | round(0)|string  %}  {% if temp|length == 1 %} 302 {%
            elif temp|length == 2 %} 283 {% elif temp|length == 3 %} 283 {%
            endif %}
          "y": 190
          size: 30
          color: >-
            {% set temp = (state_attr('weather.home', 'forecast')[2].temperature
            | float) | round(0)  %} {% if temp < 3 %} red {% else %} black {%
            endif %}
        - type: text
          value: >-
            {% set temp = (state_attr('weather.home', 'forecast')[3].templow |
            float) | round(0)|string  %} {% set tag =
            ['Mo','Di','Mi','Do','Fr','Sa','So','Mo'][as_datetime(state_attr('weather.home',
            'forecast')[2].datetime).strftime('%u')|int] %} {% if temp|length ==
            1 %} {{tag ~ "  " ~ temp ~ "°"}} {% elif temp|length == 2 %} {{tag ~
            " " ~ temp ~ "°"}} {% elif temp|length == 3 %} {{tag ~ " " ~ temp}}
            {% endif %}
          font: /media/fonts/CascadiaCode.ttf
          x: 230
          "y": 220
          size: 30
          color: >-
            {% set temp = (state_attr('weather.home', 'forecast')[3].templow |
            float) | round(0)  %} {% if temp < 3 %} red {% else %} black {%
            endif %}
        - type: text
          value: >-
            {% set temp = (state_attr('weather.home', 'forecast')[3].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')[3].temperature
            | float) | round(0)|string  %}  {% if temp|length == 1 %} 302 {%
            elif temp|length == 2 %} 283 {% elif temp|length == 3 %} 283 {%
            endif %}
          "y": 250
          size: 30
          color: >-
            {% set temp = (state_attr('weather.home', 'forecast')[3].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 == "sunny")%}
            {{"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"}}  {%elif (condition
            == "snowy")%} {{"weather-snowy"}} {% else %} {{"cloud-question"}} {%
            endif %}
          x: 12
          "y": 145
          size: 100
          color: black
        - type: text
          value: "{{ states.weather.home.attributes.temperature | round(0)}}°"
          font: /media/fonts/CascadiaCode.ttf
          x: 90
          "y": 120
          size: 80
          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 == "sunny")%}
            {{"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"}} {%elif (condition ==
            "snowy")%} {{"weather-snowy"}} {% else %} {{"cloud-question"}} {%
            endif %}
          x: 340
          "y": 100
          size: 55
          color: black
        - type: icon
          value: >-
            {% set condition = state_attr('weather.home',
            'forecast')[2].condition  %}  {%if (condition == "clearsky") %}
            {{"weather-sunny"}} {%elif (condition == "cloudy")%}
            {{"weather-cloudy"}} {%elif (condition == "fair")%}
            {{"weather-sunny"}} {%elif (condition == "sunny")%}
            {{"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"}} {%elif (condition ==
            "snowy")%} {{"weather-snowy"}} {% else %} {{"cloud-question"}} {%
            endif %}
          x: 340
          "y": 160
          size: 55
          color: black
        - type: icon
          value: >-
            {% set condition = state_attr('weather.home',
            'forecast')[3].condition  %}  {%if (condition == "clearsky") %}
            {{"weather-sunny"}} {%elif (condition == "cloudy")%}
            {{"weather-cloudy"}} {%elif (condition == "fair")%}
            {{"weather-sunny"}} {%elif (condition == "sunny")%}
            {{"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"}} {%elif (condition ==
            "snowy")%} {{"weather-snowy"}} {% else %} {{"cloud-question"}} {%
            endif %}

EDIT: added 8th day in the arrays for the next monday’s forecast day

2 Likes