relockOn = str(pluginAction.props["relockOn"]) not working.

Posted on
Tue Nov 10, 2020 7:52 am
Jann offline
Posts: 120
Joined: Mar 12, 2006
Location: Auburndale, FL

relockOn = str(pluginAction.props["relockOn"]) not working.

I was digging into the code for this because the lock manager refuses to disable auto relock.

It ENABLES it fine.
BUT I change the "Configure auto relock" screen (in Edit Action Settings), to "Auto relock after a code has been entered" to be off, it STILL sends the following to the lock via "ZWave" when the action is executed:
Code: Select all
   Z-Wave Lock Manager Debug       setRelock action called
   Z-Wave Lock Manager Debug       Indigo lock selected: 1303638890
   Z-Wave Lock Manager             Enabling auto relock mode with a timeout of 30 seconds:


The box DOES save the option cos when I bring the config box up it still says "OFF" in the drop down. the following code just doesn't seem to read it:

Code: Select all
relockOn = str(pluginAction.props["relockOn"])
 relockTime = str(pluginAction.props["relockTime"])


Can we get this fixed, @howartp?

Posted on
Tue Nov 10, 2020 8:39 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: relockOn = str(pluginAction.props["relockOn"]) not work

Quite possibly!

Oeter


Sent from my iPhone using Tapatalk Pro

Posted on
Tue Nov 10, 2020 2:27 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: relockOn = str(pluginAction.props["relockOn"]) not work

https://github.com/howartp84/ZWaveLockM ... tag/1.0.57 should fix this.

Let me know before I push it to the store.

Peter

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests