Commit 4880ceb 1 parent db14327 commit 4880ceb Copy full SHA for 4880ceb
File tree 1 file changed +7
-1
lines changed
Drivers/sonoff-2ch-tasmota.src
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ metadata {
31
31
command " reboot"
32
32
33
33
attribute " needUpdate" , " string"
34
+ attribute " uptime" , " string"
35
+ attribute " ip" , " string"
34
36
}
35
37
36
38
simulator {
@@ -129,7 +131,7 @@ def parse(description) {
129
131
130
132
if (! state. mac || state. mac != descMap[" mac" ]) {
131
133
log. debug " Mac address of device found ${ descMap["mac"]} "
132
- updateDataValue( " mac" , descMap[" mac" ])
134
+ state . mac = descMap[" mac" ]
133
135
}
134
136
135
137
if (state. mac != null && state. dni != state. mac) state. dni = setDeviceNetworkId(state. mac)
@@ -630,6 +632,10 @@ def configuration_model()
630
632
{
631
633
'''
632
634
<configuration>
635
+ <Value type="password" byteSize="1" index="password" label="Password" min="" max="" value="" setting_type="preference" fw="">
636
+ <Help>
637
+ </Help>
638
+ </Value>
633
639
<Value type="list" byteSize="1" index="PowerOnState" label="Power On State" min="0" max="3" value="3" setting_type="lan" fw="">
634
640
<Help>
635
641
Default: Previous
You can’t perform that action at this time.
0 commit comments