Fix device class icon off state

This commit is contained in:
Paul Bottein 2025-07-10 17:36:03 +02:00
parent 5ed2d2fd2f
commit 341e63e878
No known key found for this signature in database

View File

@ -148,6 +148,7 @@ class HaMoreInfoViewToggleGroup extends LitElement {
.hass=${this.hass}
.domain=${domain}
.state=${OFF_STATE}
.deviceClass=${deviceClass}
.icon=${domain === "light" ? "mdi:lightbulb-off" : undefined}
></ha-domain-icon>