Donald Kirker 6325101f52 ICP-1097 Fix Sengled Classic default level on pairing
Code brought oever from @varzac commit 8bcbe7b924
Original commit message:

> Fix sengled use of FF for max level
> This works around the fact that sengled element touches can get back
> into a state of reporting an invalid value (of FF) if the physical
> button on the bulb is used to cycle back to the 100% state.  Here we
> interpret FF as FE for sengled and then issue a move to level command to
> put it in a state where it will report FE until the level is changed
> again.
>
> This resolves: https://smartthings.atlassian.net/browse/DVCSMP-2597

While the Classic does not have a physical button, since it does represent 100% as FF we want to always catch this.
2017-06-06 03:29:41 -07:00
2017-03-03 16:32:32 -08:00
2016-11-12 00:19:55 -08: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%