Skip to content

Commit

Permalink
Fix unit of measurement not displayed in entity settings (#18440)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored Oct 27, 2023
1 parent 1a23124 commit 9207f6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/panels/config/entities/entity-registry-settings-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ export class EntityRegistrySettingsEditor extends LitElement {

this._name = this.entry.name || "";
this._icon = this.entry.icon || "";
this._deviceClass =
this.entry.device_class || this.entry.original_device_class;
this._origEntityId = this.entry.entity_id;
this._areaId = this.entry.area_id;
this._entityId = this.entry.entity_id;
Expand Down

0 comments on commit 9207f6c

Please sign in to comment.