Add IKEA non dimmer. This closes #251

This commit is contained in:
Micke Prag 2013-02-13 16:59:13 +01:00
parent 9a28b1444b
commit 05f5db163c
2 changed files with 5 additions and 1 deletions

View file

@ -15,6 +15,9 @@
#endif
int ProtocolIkea::methods() const {
if (TelldusCore::comparei(model(), L"selflearning-switch")) {
return TELLSTICK_TURNON | TELLSTICK_TURNOFF;
}
return TELLSTICK_TURNON | TELLSTICK_TURNOFF | TELLSTICK_DIM;
}