This is a print of a timer device:
address :
batteryLevel : None
buttonGroupCount : 0
configured : True
description :
deviceTypeId : timer
displayStateId : longStatusString
displayStateImageSel : TimerOff
displayStateValRaw : inactive
displayStateValUi : inactive
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 380178312
globalProps : MetaProps : (dict)
com.perceptiveautomation.indigoplugin.timersandpesters : (dict)
amount : 5 (string)
amountType : minutes (string)
id : 1466619331
lastChanged : 2017-09-09 11:27:54
lastSuccessfulComm : 2017-09-09 11:27:54
model : Timer
name : new device
ownerProps : com.perceptiveautomation.indigoplugin.timersandpesters : (dict)
amount : 5 (string)
amountType : minutes (string)
pluginId : com.perceptiveautomation.indigoplugin.timersandpesters
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
longStatusString : inactive (string)
timeLeftDays : 0 (integer)
timeLeftHours : 0 (integer)
timeLeftMinutes : 0 (integer)
timeLeftSeconds : 0 (integer)
timerStartValueSeconds : 300 (string)
timerStatus : inactive (string)
timerStatus.active : false (bool)
timerStatus.inactive : true (bool)
timerStatus.paused : false (bool)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : False
version : None
The
amount is a property for the Action
setTimerStartValue. I think you need to be inspecting the device states (in
red above)?
Can't explain why it used to work and now doesn't.