mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-06 07:57:46 +00:00
HaDeviceAutomationCard
This commit is contained in:
parent
90e3112ae1
commit
abfec31cfe
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user