Closed neophob closed 9 years ago
The documentation in the README is wrong, it is still detailing the old way the the LightState object worked.
In the new LightState, alert()
will map to the under lying Bridge API payload of {"alert": "none"}
now.
using api v1.0.2, if I use
api.setLightState(1, lightState.create().alert());
orreturn api.setGroupLightState(0, lightState.create().alert());
nothing happens.Edit: However
lightState.create().longAlert()
does work!