mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +00:00
Fix LwDecode topic format
This commit is contained in:
parent
31e9e050b9
commit
0719f9811d
@ -15,7 +15,7 @@ class lwdecode_cls
|
|||||||
self.LwDecoders = {}
|
self.LwDecoders = {}
|
||||||
self.topic = string.replace(string.replace(
|
self.topic = string.replace(string.replace(
|
||||||
tasmota.cmd('_FullTopic',true)['FullTopic'],
|
tasmota.cmd('_FullTopic',true)['FullTopic'],
|
||||||
'%topic%', tasmota.cmd('_Topic',true)['Topic']),
|
'%topic%', tasmota.cmd('_Status',true)['Status']['Topic']),
|
||||||
'%prefix%', tasmota.cmd('_Prefix',true)['Prefix3']) # tele
|
'%prefix%', tasmota.cmd('_Prefix',true)['Prefix3']) # tele
|
||||||
+ 'SENSOR'
|
+ 'SENSOR'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user