From 887def801c57dc42a0cbe1002c274c3225425f0f Mon Sep 17 00:00:00 2001 From: Conrad Sachweh Date: Mon, 3 May 2021 08:29:52 +0200 Subject: [PATCH] feat: added units of mi flora sensors like shown in the ui to mqtt autodiscovery --- tasmota/xsns_62_esp32_mi_ble.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasmota/xsns_62_esp32_mi_ble.ino b/tasmota/xsns_62_esp32_mi_ble.ino index 3d1fd26c6..2599f64d6 100644 --- a/tasmota/xsns_62_esp32_mi_ble.ino +++ b/tasmota/xsns_62_esp32_mi_ble.ino @@ -2822,17 +2822,17 @@ const char *classes[] = { // 7 "", //- empty device class "Moisture", - "", + "%", // 8 "", //- empty device class "Illuminance", - "", + "lx", // 9 "", //- empty device class "Fertility", - "", + "µS/cm", // 10 "", //- empty device class