Bump aiohue library to version 4.6.2 (#88907)

* Bump aiohue library to 4.6.2

* Fix long press (fixed in aiohue lib)

* fix test
This commit is contained in:
Marcel van der Veldt 2023-02-28 17:53:15 +01:00 committed by GitHub
parent c38df1102a
commit 36e6a879ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 3 deletions

View File

@ -35,6 +35,7 @@ TRIGGER_TYPE = {
"remote_double_button_long_press": "both {subtype} released after long press",
"remote_double_button_short_press": "both {subtype} released",
"initial_press": "{subtype} pressed initially",
"long_press": "{subtype} long press",
"repeat": "{subtype} held down",
"short_release": "{subtype} released after short press",
"long_release": "{subtype} released after long press",

View File

@ -11,6 +11,6 @@
"iot_class": "local_push",
"loggers": ["aiohue"],
"quality_scale": "platinum",
"requirements": ["aiohue==4.6.1"],
"requirements": ["aiohue==4.6.2"],
"zeroconf": ["_hue._tcp.local."]
}

View File

@ -46,6 +46,7 @@ DEFAULT_BUTTON_EVENT_TYPES = (
ButtonEvent.INITIAL_PRESS,
ButtonEvent.REPEAT,
ButtonEvent.SHORT_RELEASE,
ButtonEvent.LONG_PRESS,
ButtonEvent.LONG_RELEASE,
)

View File

@ -181,7 +181,7 @@ aiohomekit==2.6.1
aiohttp_cors==0.7.0
# homeassistant.components.hue
aiohue==4.6.1
aiohue==4.6.2
# homeassistant.components.imap
aioimaplib==1.0.1

View File

@ -165,7 +165,7 @@ aiohomekit==2.6.1
aiohttp_cors==0.7.0
# homeassistant.components.hue
aiohue==4.6.1
aiohue==4.6.2
# homeassistant.components.imap
aioimaplib==1.0.1

View File

@ -84,6 +84,7 @@ async def test_get_triggers(
}
for event_type in (
ButtonEvent.INITIAL_PRESS,
ButtonEvent.LONG_PRESS,
ButtonEvent.LONG_RELEASE,
ButtonEvent.REPEAT,
ButtonEvent.SHORT_RELEASE,