From c1cffbd288641bed34dc4e85500a2d393b2a2388 Mon Sep 17 00:00:00 2001 From: "J.Lunz" <117189+jlunz@users.noreply.github.com> Date: Sat, 11 Sep 2021 14:15:53 +0200 Subject: [PATCH] Present BATT_SENSOR as sensorType S_MULTIMETER As msgBatt has variable-type 'V_VOLTAGE' it needs type 'S_MULTIMETER'. Without this the entity is not being displayed in Home Assistant. --- Arduino/SensebenderMicro/SensebenderMicro.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arduino/SensebenderMicro/SensebenderMicro.ino b/Arduino/SensebenderMicro/SensebenderMicro.ino index 5060256..20827cd 100644 --- a/Arduino/SensebenderMicro/SensebenderMicro.ino +++ b/Arduino/SensebenderMicro/SensebenderMicro.ino @@ -184,7 +184,7 @@ void presentation() { present(CHILD_ID_HUM,S_HUM); #ifdef BATT_SENSOR - present(BATT_SENSOR, S_POWER); + present(BATT_SENSOR, S_MULTIMETER); #endif }