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
|
#endif
|
||||||
|
|
||||||
int ProtocolIkea::methods() const {
|
int ProtocolIkea::methods() const {
|
||||||
|
if (TelldusCore::comparei(model(), L"selflearning-switch")) {
|
||||||
|
return TELLSTICK_TURNON | TELLSTICK_TURNOFF;
|
||||||
|
}
|
||||||
return TELLSTICK_TURNON | TELLSTICK_TURNOFF | TELLSTICK_DIM;
|
return TELLSTICK_TURNON | TELLSTICK_TURNOFF | TELLSTICK_DIM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,8 @@
|
||||||
<device model="codeswitch:fuhaote" protocol="fuhaote" widget="2" image="hq_cs" name="Code Switch">Code Switch</device>
|
<device model="codeswitch:fuhaote" protocol="fuhaote" widget="2" image="hq_cs" name="Code Switch">Code Switch</device>
|
||||||
</vendor>
|
</vendor>
|
||||||
<vendor name="IKEA" image="ikea">
|
<vendor name="IKEA" image="ikea">
|
||||||
<device model="selflearning:ikea" protocol="ikea" widget="3" image="koppla">Koppla</device>
|
<device model="selflearning-switch:ikea" protocol="ikea" widget="3" image="koppla">Koppla on/off</device>
|
||||||
|
<device model="selflearning:ikea" protocol="ikea" widget="3" image="koppla">Koppla dimmer</device>
|
||||||
</vendor>
|
</vendor>
|
||||||
<vendor name="Intertechno" image="intertechno">
|
<vendor name="Intertechno" image="intertechno">
|
||||||
<!--<text>http://www.intertechno.at/</text> -->
|
<!--<text>http://www.intertechno.at/</text> -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue