- Code: Select all
def deviceStartComm(self, dev)
for dev in indigo.devices(filter="com.whmoorejr.my-people"):
dev.stateListOrDisplayStateIdChanged() # will call getDeviceStateList() and getDeviceDisplayStateId()
- Code: Select all
def deviceStartComm(self, dev)
dev = indigo.devices[for dev in indigo.devices.iter(filter="com.whmoorejr.my-people")]
dev.stateListOrDisplayStateIdChanged()
I tried to base it off Matt's example https://forums.indigodomo.com/viewtopic.php?f=108&t=7559#p45965, but obviously, I'm off target somewhere.
FYI, the states are all just blank text strings and I don't need a default value for these.
Any pointers in the right direction would be much appreciated.