Add a flagged option to apply channel type multiplier (if any) when publishing MQTT value (#653)

* Add a flagged option to apply channel type multiplier (if any) when publishing MQTT value

* Update new_mqtt.c

changed float to double for more accuracy

---------

Co-authored-by: Rémi Serriere <Remi.Serriere@getyooz.com>
This commit is contained in:
Remi Serriere
2023-02-07 11:38:44 +01:00
committed by GitHub
parent 012b2cfbca
commit 3ff76c1c09
3 changed files with 63 additions and 6 deletions

View File

@ -2264,6 +2264,7 @@ const char* g_obk_flagNames[] = {
"[MQTT] Enable Tasmota TELE etc publishes (for ioBroker etc)",
"[UART] Enable UART command line",
"[LED] Use old linear brightness mode, ignore gamma ramp",
"[MQTT] Apply channel type multiplier on (if any) on channel value before publishing it",
"error",
"error",
"error",