HaDeviceAutomationCard

This commit is contained in:
Ludeeus 2021-10-28 13:04:28 +00:00
parent 90e3112ae1
commit abfec31cfe

View File

@ -57,9 +57,9 @@ export abstract class HaDeviceAutomationCard<
<div class="content"> <div class="content">
<ha-chip-set <ha-chip-set
@chip-clicked=${this._handleAutomationClicked} @chip-clicked=${this._handleAutomationClicked}
.items=${this.automations.map((automation) => .items=${this.automations.map((automation) => ({
this._localizeDeviceAutomation(this.hass, automation) label: this._localizeDeviceAutomation(this.hass, automation),
)} }))}
> >
</ha-chip-set> </ha-chip-set>
</div> </div>