From 70724f016e6576960f203ea472e60522419f4968 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 25 Oct 2021 10:12:11 +0200 Subject: [PATCH] Add support for unit of measurement in MQTT number platform (#19948) --- source/_integrations/number.mqtt.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_integrations/number.mqtt.markdown b/source/_integrations/number.mqtt.markdown index 138750983bf..21d655ee2d3 100644 --- a/source/_integrations/number.mqtt.markdown +++ b/source/_integrations/number.mqtt.markdown @@ -164,6 +164,10 @@ unique_id: description: An ID that uniquely identifies this Number. If two Numbers have the same unique ID Home Assistant will raise an exception. required: false type: string +unit_of_measurement: + description: Defines the unit of measurement of the sensor, if any. + required: false + type: string value_template: description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract the value." required: false