Skip to content

Commit

Permalink
Fix invalid reference to icon_color_rgb
Browse files Browse the repository at this point in the history
Solves #963
  • Loading branch information
edwardtfn committed Dec 21, 2023
1 parent 2a0968e commit 26d3d12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nspanel_blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7908,7 +7908,7 @@ action:
- repeat:
for_each: '{{ home_page_status_bar }}'
sequence:
- &display-home_page_status_bar
- &display-home_page_status_bar #DEBUG
if: '{{ repeat.item.entity is defined and repeat.item.entity is string and repeat.item.entity | length > 0 }}'
then:
- variables:
Expand All @@ -7924,7 +7924,7 @@ action:
- service: '{{ nextion.command.set_component_color }}'
data:
component: 'home.{{ repeat.item.component }}'
foreground: '{{ [ entity.icon_color_rgb ] if is_number(entity.icon_color_rgb) else entity.icon_color_rgb }}'
foreground: '{{ [ entity.icon_color ] if is_number(entity.icon_color) else entity.icon_color }}'
continue_on_error: true
### ICON Font ###
- *delay-default
Expand Down

0 comments on commit 26d3d12

Please sign in to comment.