mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Use enum sensor device class in HomeKit Controller (#83109)
This commit is contained in:
@@ -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",
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user