Fix LwDecode topic format

This commit is contained in:
Theo Arends 2025-07-26 16:44:43 +02:00
parent 31e9e050b9
commit 0719f9811d

View File

@ -15,7 +15,7 @@ class lwdecode_cls
self.LwDecoders = {}
self.topic = string.replace(string.replace(
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
+ 'SENSOR'