Add IKEA non dimmer. This closes #251
This commit is contained in:
parent
9a28b1444b
commit
05f5db163c
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue