new day, new challenge…
have this auto-entities card:
- type: custom:auto-entities
card:
type: map
title: Maps Family abroad
show_empty: false
filter:
include:
- entity_id: person.*_address
attributes:
country_code: not nl
options:
aspect_ratio: 969
dark_mode: false
default_zoom: 14
which looks for the attribute country_code, on my adapted person entities. If that isnt ‘nl’ they should show up on a map.
thing is that when we all are in nl, and the card should be empty, and not show, it returns these errors in inspector (Safari):
dark_mode
is listed in my config, so that could be passing the show_empty
, but when on earth would the hours_to_show
be listed there…
so, several issues in 1
please have a look if you can find something wrong here.
for the sake of testing, I changed it to:
- type: custom:auto-entities
card:
type: map
title: Maps Family abroad
show_empty: false
filter:
include:
- entity_id: person.*_address
not:
attributes:
country_code: be
options:
aspect_ratio: 969
dark_mode: false
default_zoom: 14
and, since all are in nl, this shows a map with all family members. Changing the be
to nl
here, brings back the error, now in Chrome, and consistently shows an error on the entities for Map:
and even this returns the error:
- type: custom:auto-entities
card:
type: map
title: Maps Family abroad
show_empty: false
filter:
include:
- entity_id: person.*_address
attributes:
country_code: be
while using nl in the last config, shows nicely.