error: hours_to_show even though that isn't used in the card config
See original GitHub issuefor some reason, using this auto-entities card:
- type: custom:auto-entities
card:
type: map
title: Map Family abroad
show_empty: false
filter:
include:
- entity_id: person.*_address
not:
attributes:
country_code: nl
throws an error about hours_to_show
even though that isnt used in the config at all…
adding several map options:
- type: custom:auto-entities
card:
type: map
title: Map Family abroad
show_empty: false
filter:
include:
- entity_id: person.*_address
not:
attributes:
country_code: nl
options:
aspect_ratio: 969
dark_mode: false
default_zoom: 14
adds an error on the dark_mode, but since it is set to false, which is default, I can live with deleting it (even though the error still is odd of course.
seems the show_when_empty (which these cards are at the moment) doesnt prevent the card to start looking for entity_id’s
changing to any other country_code (we are all in nl now) takes the error out and displays all entity_id’s.
Also, taking out the ‘not’ option doesn’t help. the issues is reversed in that case, showing the error on any other code than ‘nl’.
to be 100% positive the error is on this card, I’ve tested that on an empty view.
Please have a look why the error on hours_to_show is displayed? thanks

HA 2020.12.1 and latest auto-entities version 1.7.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (4 by maintainers)
https://github.com/home-assistant/frontend/pull/8697
sorry to report, I see the dark_mode error (again, thought it was gone, maybe I didn’t watch closely enough though)
it happens on the same config as https://github.com/thomasloven/lovelace-auto-entities/issues/189#issuecomment-836460232, and also only when using the excluded filter in that config. the dark_mode revealed itself again after I updated the latest browser_mod. I am sure, because when I edited the linked issue today, I hadn’t updated browser_mod yet, and the error wasn’t there.
Chrome: