mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
committed by
claude[bot]
parent
411a0a20a9
commit
8935a736cb
@@ -5629,6 +5629,17 @@ const MUTANT_DEFINITIONS = [
|
||||
replace: ' if (candidates.length >= 1) placements.set(node.key, {',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'zigbee-topology-z2m-camelcase-node-rejected',
|
||||
guard: 'node --test --test-name-pattern="real anonymized camelCase" test/zigbee-topology.test.mjs',
|
||||
because: 'the Zigbee2MQTT raw network-map contract uses ieeeAddr; accepting only the '
|
||||
+ 'bridge/devices snake_case spelling makes every real scan fail as invalid (#450 AC1)',
|
||||
patches: [{
|
||||
file: 'src/zigbee-topology.ts',
|
||||
find: ' const ieee = normalizeIeee(record?.ieeeAddr ?? record?.ieee_address ?? record?.ieee);',
|
||||
replace: ' const ieee = normalizeIeee(record?.ieee_address ?? record?.ieee);',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'zigbee-topology-z2m-foreign-response-accepted',
|
||||
guard: 'node --test test/zigbee-topology.test.mjs',
|
||||
|
||||
Reference in New Issue
Block a user