mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 14:57:16 +00:00
Merge pull request #11558 from hallard/teleinfo
always add teleinfo values in telemetry
This commit is contained in:
commit
1ab0a2f05c
@ -593,10 +593,8 @@ void TInfoShow(bool json)
|
||||
ResponseAppend_P(PSTR(",\"Load\":%d"),(int) ((Energy.current[0]*100.0f) / isousc));
|
||||
}
|
||||
|
||||
// add teleinfo full frame only if no teleinfo raw data setup
|
||||
if (!Settings.flag4.teleinfo_rawdata) {
|
||||
ResponseAppendTInfo(',');
|
||||
}
|
||||
// add teleinfo full frame
|
||||
ResponseAppendTInfo(',');
|
||||
|
||||
|
||||
#ifdef USE_WEBSERVER
|
||||
|
Loading…
x
Reference in New Issue
Block a user