1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-29 13:13:46 +01:00
Files
core/tests/components/smlight/fixtures/info-MR1.json
TimL 280f61dd77 Add update entity for second Zigbee radio (#136918)
* Add get_radio helper function

This is defined here primarily for use in simplifying otherwise repetitive
logic in the lambdas for entity descriptions.

* Get firmware manifests for second radio

* Create optional update entity for radio 2

* Add info fixture for SLZB-MR1

* Test for firmware updates of second radio

* Remove use of entity description creating entities

* Add idx to lambda functions

* Add latest_version lambda to ED

* Use Single zb_update description

* test radio2 update

* device type heading for release notes

* fix failing no internet test

* update release note tests

* assert radios

* fix return type installed_version

* refactor latest_version code

* update listener

* Dont create update entities for legacy firmware that can't upgrade

* Address review comments for update listener
2025-02-04 20:34:18 -06:00

42 lines
896 B
JSON

{
"coord_mode": 0,
"device_ip": "192.168.1.161",
"fs_total": 3456,
"fw_channel": "dev",
"legacy_api": 0,
"hostname": "SLZB-MR1",
"MAC": "AA:BB:CC:DD:EE:FF",
"model": "SLZB-MR1",
"ram_total": 296,
"sw_version": "v2.7.3",
"wifi_mode": 0,
"zb_flash_size": 704,
"zb_channel": 0,
"zb_hw": "CC2652P7",
"zb_ram_size": 152,
"zb_version": "20240314",
"zb_type": 0,
"radios": [
{
"chip_index": 0,
"zb_hw": "EFR32MG21",
"zb_version": 20241127,
"zb_type": 0,
"zb_channel": 0,
"zb_ram_size": 152,
"zb_flash_size": 704,
"radioModes": [true, true, true, false, false]
},
{
"chip_index": 1,
"zb_hw": "CC2652P7",
"zb_version": 20240314,
"zb_type": 1,
"zb_channel": 0,
"zb_ram_size": 152,
"zb_flash_size": 704,
"radioModes": [true, true, true, false, false]
}
]
}