Closed kloggy closed 4 years ago
default
is an array. In your case it's an object.
The correct syntax is:
simple_header_options_button:
default:
- icon: mdi:settings
- lock: false
- lock_color: var(--primary-text-color)
- tap_action: more-info
see here for background https://community.home-assistant.io/t/lovelace-decluttering-card/118625/74
The specific case referenced there is a custom button card based on a de-clutterring template. The template includes a default defined boolean for
lock
offalse
which is ignored if it is not passed anything. The lock still appears.First the view itself,
then the de-cluttering templates,