Error messages from the browser console:
---
**By putting an X in the boxes ([X]) below, I indicate that I:**
- [X] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
- [X] Have made sure I am using the latest version of the plugin.
- [X] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
- [X] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.
My Home Assistant version: 2022.8.4
Layout-card version (FROM BROWSER CONSOLE): 2.4.2
What I am doing: Setting the following config:
view_layout: show: |- {{ 'always' if expand(area_entities('Bedroom')) | selectattr('domain', 'eq', 'climate') | list | count > 0 else 'never' }}
Already checked in Developer Tools - Template and the result is correct: always
What I expected to happen:
What happened instead:
Minimal steps to reproduce:
ANY CARD CAN BE PLACED HERE
view_layout: grid-area: thermo show: |- {{ 'always' if expand(area_entities('Bedroom')) | selectattr('domain', 'eq', 'climate') | list | count > 0 else 'never' }}
The least ammount of code possible to reproduce my error
ANY CARD CAN BE PLACED HERE
view_layout: grid-area: thermo show: |- {{ 'always' if expand(area_entities('Bedroom')) | selectattr('domain', 'eq', 'climate') | list | count > 0 else 'never' }}
End of code