mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix how homekit_controller enumerates Hue remote (#44019)
This commit is contained in:
parent
faf21e1e1a
commit
109ce653c0
@ -4,7 +4,7 @@
|
|||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/homekit_controller",
|
"documentation": "https://www.home-assistant.io/integrations/homekit_controller",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"aiohomekit==0.2.57"
|
"aiohomekit==0.2.60"
|
||||||
],
|
],
|
||||||
"zeroconf": [
|
"zeroconf": [
|
||||||
"_hap._tcp.local."
|
"_hap._tcp.local."
|
||||||
|
@ -172,7 +172,7 @@ aioguardian==1.0.4
|
|||||||
aioharmony==0.2.6
|
aioharmony==0.2.6
|
||||||
|
|
||||||
# homeassistant.components.homekit_controller
|
# homeassistant.components.homekit_controller
|
||||||
aiohomekit==0.2.57
|
aiohomekit==0.2.60
|
||||||
|
|
||||||
# homeassistant.components.emulated_hue
|
# homeassistant.components.emulated_hue
|
||||||
# homeassistant.components.http
|
# homeassistant.components.http
|
||||||
|
@ -103,7 +103,7 @@ aioguardian==1.0.4
|
|||||||
aioharmony==0.2.6
|
aioharmony==0.2.6
|
||||||
|
|
||||||
# homeassistant.components.homekit_controller
|
# homeassistant.components.homekit_controller
|
||||||
aiohomekit==0.2.57
|
aiohomekit==0.2.60
|
||||||
|
|
||||||
# homeassistant.components.emulated_hue
|
# homeassistant.components.emulated_hue
|
||||||
# homeassistant.components.http
|
# homeassistant.components.http
|
||||||
|
@ -51,14 +51,13 @@ async def test_hue_bridge_setup(hass):
|
|||||||
]
|
]
|
||||||
|
|
||||||
for button in ("button1", "button2", "button3", "button4"):
|
for button in ("button1", "button2", "button3", "button4"):
|
||||||
for subtype in ("single_press", "double_press", "long_press"):
|
|
||||||
expected.append(
|
expected.append(
|
||||||
{
|
{
|
||||||
"device_id": device.id,
|
"device_id": device.id,
|
||||||
"domain": "homekit_controller",
|
"domain": "homekit_controller",
|
||||||
"platform": "device",
|
"platform": "device",
|
||||||
"type": button,
|
"type": button,
|
||||||
"subtype": subtype,
|
"subtype": "single_press",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user