From 2f21f6ef8a29b9d6236ed8dce62f01c0c51ebdcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Tue, 29 Sep 2020 21:55:20 +0200 Subject: [PATCH] Add unit_of_measurement to input-number-entity-row (#6965) --- .../hui-input-number-entity-row.ts | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/panels/lovelace/entity-rows/hui-input-number-entity-row.ts b/src/panels/lovelace/entity-rows/hui-input-number-entity-row.ts index 219fa2c237..22a0c3d57f 100644 --- a/src/panels/lovelace/entity-rows/hui-input-number-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-input-number-entity-row.ts @@ -94,19 +94,22 @@ class HuiInputNumberEntityRow extends LitElement implements LovelaceRow { ` : html` - +
+ + ${stateObj.attributes.unit_of_measurement} +
`} `;