Use enum sensor device class in HomeKit Controller (#83109)
This commit is contained in:
parent
46500beefc
commit
a4a80f367b
5 changed files with 92 additions and 26 deletions
|
@ -57,6 +57,16 @@ async def test_nanoleaf_nl55_setup(hass):
|
|||
friendly_name="Nanoleaf Strip 3B32 Thread Capabilities",
|
||||
unique_id="00:00:00:00:00:00_1_31_115",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
capabilities={
|
||||
"options": [
|
||||
"border_router_capable",
|
||||
"full",
|
||||
"minimal",
|
||||
"none",
|
||||
"router_eligible",
|
||||
"sleepy",
|
||||
]
|
||||
},
|
||||
state="border_router_capable",
|
||||
),
|
||||
EntityTestInfo(
|
||||
|
@ -64,6 +74,17 @@ async def test_nanoleaf_nl55_setup(hass):
|
|||
friendly_name="Nanoleaf Strip 3B32 Thread Status",
|
||||
unique_id="00:00:00:00:00:00_1_31_117",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
capabilities={
|
||||
"options": [
|
||||
"border_router",
|
||||
"child",
|
||||
"detached",
|
||||
"disabled",
|
||||
"joining",
|
||||
"leader",
|
||||
"router",
|
||||
]
|
||||
},
|
||||
state="border_router",
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue