Skip to content

Update zigbee-herdsman-converters to 21.9.2 #13124

Update zigbee-herdsman-converters to 21.9.2

Update zigbee-herdsman-converters to 21.9.2 #13124

Triggered via pull request December 24, 2024 21:23
Status Failure
Total duration 1m 49s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 4 warnings
test/extensions/bridge.test.ts > Extension: Bridge > Should publish devices on startup: test/extensions/bridge.test.ts#L315
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/devices', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/devices", - "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"
test/extensions/bridge.test.ts > Extension: Bridge > Should publish event and devices when device interview successful: test/extensions/bridge.test.ts#L2328
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/event', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/event", - "{\"data\":{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"enum\",\"values\":[\"off\",\"on\",\"toggle\",\"previous\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Advanced color behavior\",\"features\":[{\"access\":2,\"description\":\"Controls whether color and color temperature can be set while light is off\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\"
test/extensions/bridge.test.ts > Extension: Bridge > Change options and apply - homeassistant: test/extensions/bridge.test.ts#L3755
AssertionError: expected "spy" to be called with arguments: [ …(3) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/response/options", - "{\"data\":{\"restart_required\":true},\"status\":\"ok\"}", + "zigbee2mqtt/bridge/devices", + "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"_colorTempRangeProvided\":true,\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\"
tests (macos-latest, 20)
Process completed with exit code 1.
test/extensions/bridge.test.ts > Extension: Bridge > Should publish devices on startup: test/extensions/bridge.test.ts#L315
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/devices', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/devices", - "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"
test/extensions/bridge.test.ts > Extension: Bridge > Should publish event and devices when device interview successful: test/extensions/bridge.test.ts#L2328
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/event', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/event", - "{\"data\":{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"enum\",\"values\":[\"off\",\"on\",\"toggle\",\"previous\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Advanced color behavior\",\"features\":[{\"access\":2,\"description\":\"Controls whether color and color temperature can be set while light is off\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\"
test/extensions/bridge.test.ts > Extension: Bridge > Change options and apply - homeassistant: test/extensions/bridge.test.ts#L3755
AssertionError: expected "spy" to be called with arguments: [ …(3) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/response/options", - "{\"data\":{\"restart_required\":true},\"status\":\"ok\"}", + "zigbee2mqtt/bridge/devices", + "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"_colorTempRangeProvided\":true,\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\"
tests (macos-latest, 18)
Process completed with exit code 1.
test/extensions/bridge.test.ts > Extension: Bridge > Should publish devices on startup: test/extensions/bridge.test.ts#L315
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/devices', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/devices", - "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"
test/extensions/bridge.test.ts > Extension: Bridge > Should publish event and devices when device interview successful: test/extensions/bridge.test.ts#L2328
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/event', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/event", - "{\"data\":{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"enum\",\"values\":[\"off\",\"on\",\"toggle\",\"previous\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Advanced color behavior\",\"features\":[{\"access\":2,\"description\":\"Controls whether color and color temperature can be set while light is off\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\"
tests (ubuntu-latest, 20)
Process completed with exit code 1.
test/extensions/bridge.test.ts > Extension: Bridge > Should publish devices on startup: test/extensions/bridge.test.ts#L315
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/devices', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/devices", - "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"
test/extensions/bridge.test.ts > Extension: Bridge > Should publish event and devices when device interview successful: test/extensions/bridge.test.ts#L2328
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/event', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/event", - "{\"data\":{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"enum\",\"values\":[\"off\",\"on\",\"toggle\",\"previous\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Advanced color behavior\",\"features\":[{\"access\":2,\"description\":\"Controls whether color and color temperature can be set while light is off\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\"
tests (ubuntu-latest, 18)
Process completed with exit code 1.
test/extensions/bridge.test.ts > Extension: Bridge > Should publish devices on startup: test/extensions/bridge.test.ts#L315
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/devices', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/devices", - "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"
test/extensions/bridge.test.ts > Extension: Bridge > Should publish event and devices when device interview successful: test/extensions/bridge.test.ts#L2328
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/event', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/event", - "{\"data\":{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"enum\",\"values\":[\"off\",\"on\",\"toggle\",\"previous\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Advanced color behavior\",\"features\":[{\"access\":2,\"description\":\"Controls whether color and color temperature can be set while light is off\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\"
tests (ubuntu-latest, 22)
Process completed with exit code 1.
test/extensions/bridge.test.ts > Extension: Bridge > Should publish devices on startup: test/extensions/bridge.test.ts#L315
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/devices', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/devices", - "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"
test/extensions/bridge.test.ts > Extension: Bridge > Should publish event and devices when device interview successful: test/extensions/bridge.test.ts#L2328
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/event', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/event", - "{\"data\":{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"enum\",\"values\":[\"off\",\"on\",\"toggle\",\"previous\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Advanced color behavior\",\"features\":[{\"access\":2,\"description\":\"Controls whether color and color temperature can be set while light is off\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\"
ci
Process completed with exit code 1.
test/extensions/bridge.test.ts > Extension: Bridge > Should publish devices on startup: test/extensions/bridge.test.ts#L315
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/devices', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/devices", - "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"
test/extensions/bridge.test.ts > Extension: Bridge > Should publish event and devices when device interview successful: test/extensions/bridge.test.ts#L2328
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/event', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/event", - "{\"data\":{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"enum\",\"values\":[\"off\",\"on\",\"toggle\",\"previous\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Advanced color behavior\",\"features\":[{\"access\":2,\"description\":\"Controls whether color and color temperature can be set while light is off\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\"
test/extensions/bridge.test.ts > Extension: Bridge > Change options and apply - homeassistant: test/extensions/bridge.test.ts#L3755
AssertionError: expected "spy" to be called with arguments: [ …(3) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/response/options", - "{\"data\":{\"restart_required\":true},\"status\":\"ok\"}", + "zigbee2mqtt/bridge/devices", + "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"_colorTempRangeProvided\":true,\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\"
tests (macos-latest, 22)
Process completed with exit code 1.
test/extensions/bridge.test.ts > Extension: Bridge > Should publish devices on startup: test/extensions/bridge.test.ts#L315
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/devices', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/devices", - "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"
test/extensions/bridge.test.ts > Extension: Bridge > Should publish event and devices when device interview successful: test/extensions/bridge.test.ts#L2328
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/event', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/event", - "{\"data\":{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"enum\",\"values\":[\"off\",\"on\",\"toggle\",\"previous\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Advanced color behavior\",\"features\":[{\"access\":2,\"description\":\"Controls whether color and color temperature can be set while light is off\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\"
tests (windows-latest, 18)
Process completed with exit code 1.
test/extensions/bridge.test.ts > Extension: Bridge > Should publish devices on startup: test/extensions/bridge.test.ts#L315
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/devices', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/devices", - "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"
test/extensions/bridge.test.ts > Extension: Bridge > Should publish event and devices when device interview successful: test/extensions/bridge.test.ts#L2328
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/event', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/event", - "{\"data\":{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"enum\",\"values\":[\"off\",\"on\",\"toggle\",\"previous\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Advanced color behavior\",\"features\":[{\"access\":2,\"description\":\"Controls whether color and color temperature can be set while light is off\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\"
tests (windows-latest, 20)
Process completed with exit code 1.
test/extensions/bridge.test.ts > Extension: Bridge > Should publish devices on startup: test/extensions/bridge.test.ts#L315
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/devices', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/devices", - "[{\"disabled\":false,\"endpoints\":{\"1\":{\"bindings\":[],\"clusters\":{\"input\":[],\"output\":[]},\"configured_reportings\":[],\"scenes\":[]}},\"friendly_name\":\"Coordinator\",\"ieee_address\":\"0x00124b00120144ae\",\"interview_completed\":false,\"interviewing\":false,\"network_address\":0,\"supported\":true,\"type\":\"Coordinator\"},{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"
test/extensions/bridge.test.ts > Extension: Bridge > Should publish event and devices when device interview successful: test/extensions/bridge.test.ts#L2328
AssertionError: expected "spy" to be called with arguments: [ 'zigbee2mqtt/bridge/event', …(2) ] Received: 1st spy call: Array [ - "zigbee2mqtt/bridge/event", - "{\"data\":{\"definition\":{\"description\":\"TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm\",\"exposes\":[{\"features\":[{\"access\":7,\"description\":\"On/off state of this light\",\"label\":\"State\",\"name\":\"state\",\"property\":\"state\",\"type\":\"binary\",\"value_off\":\"OFF\",\"value_on\":\"ON\",\"value_toggle\":\"TOGGLE\"},{\"access\":7,\"description\":\"Brightness of this light\",\"label\":\"Brightness\",\"name\":\"brightness\",\"property\":\"brightness\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":0},{\"access\":7,\"description\":\"Color temperature of this light\",\"label\":\"Color temp\",\"name\":\"color_temp\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454}],\"property\":\"color_temp\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Color temperature after cold power on of this light\",\"label\":\"Color temp startup\",\"name\":\"color_temp_startup\",\"presets\":[{\"description\":\"Coolest temperature supported\",\"name\":\"coolest\",\"value\":250},{\"description\":\"Cool temperature (250 mireds / 4000 Kelvin)\",\"name\":\"cool\",\"value\":250},{\"description\":\"Neutral temperature (370 mireds / 2700 Kelvin)\",\"name\":\"neutral\",\"value\":370},{\"description\":\"Warm temperature (454 mireds / 2200 Kelvin)\",\"name\":\"warm\",\"value\":454},{\"description\":\"Warmest temperature supported\",\"name\":\"warmest\",\"value\":454},{\"description\":\"Restore previous color_temp on cold power on\",\"name\":\"previous\",\"value\":65535}],\"property\":\"color_temp_startup\",\"type\":\"numeric\",\"unit\":\"mired\",\"value_max\":454,\"value_min\":250},{\"access\":7,\"description\":\"Configure genLevelCtrl\",\"features\":[{\"access\":7,\"description\":\"this setting can affect the \\\"on_level\\\", \\\"current_level_startup\\\" or \\\"brightness\\\" setting\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\":\"execute_if_off\",\"type\":\"binary\",\"value_off\":false,\"value_on\":true},{\"access\":7,\"description\":\"Defines the desired startup level for a device when it is supplied with power\",\"label\":\"Current level startup\",\"name\":\"current_level_startup\",\"presets\":[{\"description\":\"Use minimum permitted value\",\"name\":\"minimum\",\"value\":\"minimum\"},{\"description\":\"Use previous value\",\"name\":\"previous\",\"value\":\"previous\"}],\"property\":\"current_level_startup\",\"type\":\"numeric\",\"value_max\":254,\"value_min\":1}],\"label\":\"Level config\",\"name\":\"level_config\",\"property\":\"level_config\",\"type\":\"composite\"}],\"type\":\"light\"},{\"access\":2,\"description\":\"Triggers an effect on the light (e.g. make light blink for a few seconds)\",\"label\":\"Effect\",\"name\":\"effect\",\"property\":\"effect\",\"type\":\"enum\",\"values\":[\"blink\",\"breathe\",\"okay\",\"channel_change\",\"finish_effect\",\"stop_effect\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Controls the behavior when the device is powered on after power loss\",\"label\":\"Power-on behavior\",\"name\":\"power_on_behavior\",\"property\":\"power_on_behavior\",\"type\":\"enum\",\"values\":[\"off\",\"on\",\"toggle\",\"previous\"]},{\"access\":7,\"category\":\"config\",\"description\":\"Advanced color behavior\",\"features\":[{\"access\":2,\"description\":\"Controls whether color and color temperature can be set while light is off\",\"label\":\"Execute if off\",\"name\":\"execute_if_off\",\"property\"
tests (windows-latest, 22)
Process completed with exit code 1.
tests (ubuntu-latest, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests (ubuntu-latest, 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests (ubuntu-latest, 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636