mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-05 23:47:54 +00:00
HuiAlarmPanelCard
This commit is contained in:
parent
abfec31cfe
commit
60b09dd57d
@ -154,13 +154,11 @@ class HuiAlarmPanelCard extends LitElement implements LovelaceCard {
|
|||||||
stateObj.attributes.friendly_name ||
|
stateObj.attributes.friendly_name ||
|
||||||
stateLabel}
|
stateLabel}
|
||||||
<ha-chip
|
<ha-chip
|
||||||
hasIcon
|
.leadingIcon=${alarmPanelIcon(stateObj.state)}
|
||||||
|
.label=${stateLabel}
|
||||||
class=${classMap({ [stateObj.state]: true })}
|
class=${classMap({ [stateObj.state]: true })}
|
||||||
@click=${this._handleMoreInfo}
|
@click=${this._handleMoreInfo}
|
||||||
>
|
>
|
||||||
<ha-svg-icon slot="icon" .path=${alarmPanelIcon(stateObj.state)}>
|
|
||||||
</ha-svg-icon>
|
|
||||||
${stateLabel}
|
|
||||||
</ha-chip>
|
</ha-chip>
|
||||||
</h1>
|
</h1>
|
||||||
<div id="armActions" class="actions">
|
<div id="armActions" class="actions">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user