Skip to content

Commit

Permalink
fix: Seems to be working.. so far
Browse files Browse the repository at this point in the history
  • Loading branch information
jeeftor committed Sep 13, 2023
1 parent e339a78 commit 7eb5af2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blueprints/automation/awtrix_indicator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ action:
{%- endfor -%}
{{ns.current_events}}
current_events_count: "{{current_events | length }}"
current_events_text: "{{ current_events | map(attribute='summary') | join(' / ') }}"
future_events: >-
{%- set ns = namespace(future_events=[]) %}
{%- for event in event_list %}
Expand All @@ -407,6 +408,7 @@ action:
[]
{%- endif%}
next_events_count: "{{ next_events | length }}"
next_events_text: "{{ next_events | map(attribute='summary') | join(' / ') }}"
event_payload: >-
{ "current_events":{{current_events}}
,"current_events_count":{{current_events_count}}
Expand Down

0 comments on commit 7eb5af2

Please sign in to comment.