mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-15 23:06:30 +00:00
Fix typo
This commit is contained in:
parent
e5916337ef
commit
04e0d23aba
@ -191,7 +191,7 @@ class Matter_Plugin_Device : Matter_Plugin
|
||||
import json
|
||||
var val
|
||||
if (val := introspect.get(self, attribute)) != nil
|
||||
if type(val) == 'boot' val = int(val) end # transform bool into 1/0
|
||||
if type(val) == 'bool' val = int(val) end # transform bool into 1/0
|
||||
ret += f',"{key}":{json.dump(val)}'
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user