diff --git a/tasmota/berry/lorawan/decoders/LwDecode.be b/tasmota/berry/lorawan/decoders/LwDecode.be index 134f32143..e7a4a7acf 100644 --- a/tasmota/berry/lorawan/decoders/LwDecode.be +++ b/tasmota/berry/lorawan/decoders/LwDecode.be @@ -1,7 +1,7 @@ # Decoder files are modeled on the *.js files found here: # https://github.com/TheThingsNetwork/lorawan-devices/tree/master/vendor -var LwRegions = ["EU868", "US915", "IN865","AU915","KZ865","RU864","AS923", "AS923-1","AS923-2","AS923-3"] +var LwRegions = ["EU868","US915","IN865","AU915","KZ865","RU864","AS923","AS923-1","AS923-2","AS923-3"] var LwDeco import mqtt @@ -141,7 +141,7 @@ lwdecode = lwdecode_cls() import webserver class webPageLoRaWAN : Driver def sendNodeButton(node) - webserver.content_send("") + webserver.content_send(f"") end def web_add_config_button() @@ -168,23 +168,24 @@ class webPageLoRaWAN : Driver webserver.content_start("LoRaWAN") #- title of the web page -# webserver.content_send_style() #- send standard Tasmota styles -# webserver.content_send( - "" - "

LoRaWAN End Devices

" +# "" + "" +# "

LoRaWAN End Devices

" "") @@ -197,11 +198,11 @@ class webPageLoRaWAN : Driver for node:1..8 self.sendNodeButton(node) end - webserver.content_send("") + webserver.content_send("") for node:9..16 self.sendNodeButton(node) end - webserver.content_send("") + webserver.content_send("") for node:1..16 arg='LoRaWanAppKey' + str(node) appKey=tasmota.cmd(arg,true).find(arg) @@ -210,24 +211,24 @@ class webPageLoRaWAN : Driver arg='LoRaWanDecoder' + str(node) decoder=tasmota.cmd(arg,true).find(arg) webserver.content_send( - "