Skip to content

test: update Philips light fixtures for hue_native_control#31785

Merged
Koenkk merged 2 commits intoKoenkk:deps/zigbee-herdsman-convertersfrom
Mihonarium:hue-native-control-tests
Apr 26, 2026
Merged

test: update Philips light fixtures for hue_native_control#31785
Koenkk merged 2 commits intoKoenkk:deps/zigbee-herdsman-convertersfrom
Mihonarium:hue-native-control-tests

Conversation

@Mihonarium
Copy link
Copy Markdown

Updates z2m test fixtures to match the new exposes and options added by the Hue native control changes in Koenkk/zigbee-herdsman-converters#12008

  • effect enum gains 9 new values and switches to STATE_SET access
  • new effect_speed and effect_color exposes
  • new hue_native_control and effect_color_mode options

Affects only Philips LLC020 (bulb_color / bulb_color_2) fixtures and the ha_discovery_group that contains it.

Updates z2m test fixtures to match the new exposes and options added by
the Hue native control changes in zigbee-herdsman-converters patch-1:
- effect enum gains 9 new values and switches to STATE_SET access
- new effect_speed and effect_color exposes
- new hue_native_control and effect_color_mode options

Affects only Philips LLC020 (bulb_color / bulb_color_2) fixtures and the
ha_discovery_group that contains it.
@Mihonarium
Copy link
Copy Markdown
Author

Mihonarium commented Apr 23, 2026

The updated tests will only pass with http://koenkk/zigbee-herdsman-converters#12008.

Changes made:

  • test/extensions/networkMap.test.ts — 3x updated the supports string for the 7146060PH / Hue Go entries to include effect_speed, effect_color.
  • test/extensions/frontend.test.ts — 3x spots in the "Websocket interaction" test (device = bulb_color / LLC020): added effect_color: null, effect_speed: null between effect and linkquality in each expected payload.
  • test/extensions/homeassistant.test.ts:
    • 3x state-payload updates in the "Should copy hue/saturtion…" / "Should not copy…" tests (also bulb_color / LLC020).
    • 4x effect_list updates for ha_discovery_group discovery payloads: added sunset, sparkle, opal, glisten, underwater, cosmos, sunbeam, enchant, none before finish_effect (in the precise order that philips.ts builds the list). The non-Philips standard 6-effect effect_list at lines 456 and 2564 was left untouched.
  • test/extensions/bridge.test.ts — Should publish devices on startup, the 7146060PH / Hue Go block:
    • effect expose: access: 2 → 3 (now STATE_SET); added 9 new enum values.
    • Appended two new expose entries: effect_speed (numeric, STATE_SET) and effect_color (text, SET).
    • Prepended two new options: hue_native_control (binary) and effect_color_mode (enum ["stop","update"]).
    • Reordered color_sync and state_action to match the actual emitted order (transition, state_action, color_sync).

@Koenkk Koenkk merged commit 8826eaa into Koenkk:deps/zigbee-herdsman-converters Apr 26, 2026
11 checks passed
@Koenkk
Copy link
Copy Markdown
Owner

Koenkk commented Apr 26, 2026

Thanks!

@Mihonarium Mihonarium deleted the hue-native-control-tests branch April 28, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants