diff --git a/src/common/entity/binary_sensor_icon.ts b/src/common/entity/binary_sensor_icon.ts index 03c3abaaab..1affd4016f 100644 --- a/src/common/entity/binary_sensor_icon.ts +++ b/src/common/entity/binary_sensor_icon.ts @@ -18,7 +18,7 @@ export const binarySensorIcon = (state?: string, stateObj?: HassEntity) => { case "garage_door": return is_off ? "hass:garage" : "hass:garage-open"; case "power": - return is_off ? "hass:power-off" : "hass:power-on"; + return is_off ? "hass:power-plug" : "hass:power-plug-off"; case "gas": case "problem": case "safety": diff --git a/src/data/logbook.ts b/src/data/logbook.ts index cb93ee4003..5d66e4ce14 100644 --- a/src/data/logbook.ts +++ b/src/data/logbook.ts @@ -12,6 +12,7 @@ export interface LogbookEntry { name: string; message?: string; entity_id?: string; + icon?: string; domain: string; context_user_id?: string; context_event_type?: string; diff --git a/src/panels/logbook/ha-logbook.ts b/src/panels/logbook/ha-logbook.ts index 3c451a0d8d..0204f25d48 100644 --- a/src/panels/logbook/ha-logbook.ts +++ b/src/panels/logbook/ha-logbook.ts @@ -134,7 +134,8 @@ class HaLogbook extends LitElement { ${!this.noIcon ? html`