Skip to content

Commit f3034ff

Browse files
committed
fix: Don't ignore off transition for TRADFRI bulbs with firmware 1.0.021 Koenkk/zigbee2mqtt#23825
1 parent 725cdb1 commit f3034ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/ikea.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export function ikeaLight(args?: Omit<LightArgs, 'colorTemp'> & {colorTemp?: tru
102102
// when the bulb has firmware > 1.0.012.
103103
// https://github.com/Koenkk/zigbee2mqtt/issues/19211
104104
// https://github.com/Koenkk/zigbee2mqtt/issues/22030#issuecomment-2292063140
105-
result.meta = {...result.meta, noOffTransition: (entity) => semver.gt(entity.getDevice().softwareBuildID ?? '0.0.0', '1.0.012', true)};
105+
result.meta = {...result.meta, noOffTransition: (entity) => semver.gt(entity.getDevice().softwareBuildID ?? '0.0.0', '1.0.021', true)};
106106

107107
return result;
108108
}

0 commit comments

Comments
 (0)