Fix unit of measurement not displayed in entity settings (#18440)

This commit is contained in:
Paul Bottein 2023-10-27 13:29:41 +02:00 committed by GitHub
parent 1a2312460a
commit 9207f6c407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;