Bump aiolifx to 0.8.1 (#72897)
Bump aiolifx version to support the latest LIFX devices LIFX added 22 new product definitions to their public product list at the end of January and those new products are defined in aiolifx v0.8.1, so bump the dependency version. Also switched to testing for relays instead of maintaining a seperate list of switch product IDs. Fixes #72894. Signed-off-by: Avi Miller <me@dje.li>pull/72960/head
parent
fe1c3d3be8
commit
f5c6ad24c4
homeassistant/components/lifx
|
@ -73,7 +73,6 @@ MESSAGE_RETRIES = 3
|
|||
UNAVAILABLE_GRACE = 90
|
||||
|
||||
FIX_MAC_FW = AwesomeVersion("3.70")
|
||||
SWITCH_PRODUCT_IDS = [70, 71, 89]
|
||||
|
||||
SERVICE_LIFX_SET_STATE = "set_state"
|
||||
|
||||
|
@ -403,7 +402,7 @@ class LIFXManager:
|
|||
# Get the product info first so that LIFX Switches
|
||||
# can be ignored.
|
||||
version_resp = await ack(bulb.get_version)
|
||||
if version_resp and bulb.product in SWITCH_PRODUCT_IDS:
|
||||
if version_resp and lifx_features(bulb)["relays"]:
|
||||
_LOGGER.debug(
|
||||
"Not connecting to LIFX Switch %s (%s)",
|
||||
str(bulb.mac_addr).replace(":", ""),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "LIFX",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/lifx",
|
||||
"requirements": ["aiolifx==0.7.1", "aiolifx_effects==0.2.2"],
|
||||
"requirements": ["aiolifx==0.8.1", "aiolifx_effects==0.2.2"],
|
||||
"dependencies": ["network"],
|
||||
"homekit": {
|
||||
"models": [
|
||||
|
|
|
@ -181,7 +181,7 @@ aiokafka==0.6.0
|
|||
aiokef==0.2.16
|
||||
|
||||
# homeassistant.components.lifx
|
||||
aiolifx==0.7.1
|
||||
aiolifx==0.8.1
|
||||
|
||||
# homeassistant.components.lifx
|
||||
aiolifx_effects==0.2.2
|
||||
|
|
Loading…
Reference in New Issue