Tom Manley af8590ab01 GE Link: fixed problem creating level events
The bug causing level events not to be created happens when the setLevel
command runs in the cloud but the Device Type Handler is running locally
in the hub. Since state is not synced from the cloud to the hub the
`state.trigger` value was never set to `"setLevel"` on the hub which means
no level events would be created. The change is to not be reliant on state.
Instead we just don't create level events if the level is 0 since there is
no legitimate way for the level to be 0.

https://smartthings.atlassian.net/browse/DVCSMP-2219
2016-11-08 14:48:42 -06:00
2015-08-04 15:49:03 -07:00

SmartThings Public Github Repo

An official list of SmartApps and Device Types from SmartThings.

Here are some links to help you get started coding right away:

Follow us on the web:

Description
SmartThings open-source DeviceTypeHandlers and SmartApps code
Readme 7.5 MiB
Languages
Groovy 100%