Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions src/devices/ikea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
ikeaAirPurifier,
ikeaArrowClick,
ikeaBattery,
ikeaBilresaLong,
ikeaBilresaDouble,
ikeaConfigureGenPollCtrl,
ikeaConfigureRemote,
ikeaConfigureStyrbar,
Expand Down Expand Up @@ -832,18 +832,32 @@ export const definitions: DefinitionWithExtend[] = [
ota: true,
},
{
// https://github.com/Koenkk/zigbee2mqtt/issues/30325
zigbeeModel: ["09B9"],
model: "E2489",
vendor: "IKEA",
description: "BILRESA remote control",
extend: [m.battery(), m.commandsOnOff(), m.commandsLevelCtrl(), ikeaBilresaLong()],
description: "BILRESA remote control with buttons",
extend: [
m.battery(),
m.identify({isSleepy: true}),
m.commandsOnOff({commands: ["on", "off"]}),
m.commandsLevelCtrl({commands: ["brightness_move_up", "brightness_move_down", "brightness_stop"]}),
ikeaBilresaDouble(),
],
},
{
// https://github.com/Koenkk/zigbee2mqtt/issues/30321
zigbeeModel: ["09BA"],
model: "E2490",
vendor: "IKEA",
description: "BILRESA remote control with scroll wheel",
extend: [m.battery(), m.commandsOnOff(), m.commandsLevelCtrl()],
extend: [
m.battery(),
m.identify({isSleepy: true}),
m.commandsOnOff({commands: ["on", "off"]}),
m.commandsLevelCtrl({commands: ["brightness_move_to_level"]}),
ikeaBilresaDouble(),
],
},
{
zigbeeModel: ["Remote Control N2"],
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ikea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ export function ikeaDotsClick(args: {actionLookup?: KeyValue; dotsPrefix?: boole
return {exposes, fromZigbee, configure, isModernExtend: true};
}

export function ikeaBilresaLong(): ModernExtend {
export function ikeaBilresaDouble(): ModernExtend {
const exposes: Expose[] = [presets.action(["off_double", "on_double"])];

const fromZigbee = [
Expand Down