Bump govee-ble to 0.42.0 (#135801)

pull/135808/head
J. Nick Koston 2025-01-16 11:37:12 -10:00 committed by GitHub
parent 1b520e37e2
commit eb651a8a71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 5 deletions

View File

@ -102,8 +102,7 @@ async def async_setup_entry(
descriptions = [MOTION_DESCRIPTION]
elif sensor_type is SensorType.VIBRATION:
descriptions = [VIBRATION_DESCRIPTION]
elif sensor_type is SensorType.BUTTON:
button_count = model_info.button_count
elif button_count := model_info.button_count:
descriptions = BUTTON_DESCRIPTIONS[0:button_count]
else:
return

View File

@ -131,5 +131,5 @@
"dependencies": ["bluetooth_adapters"],
"documentation": "https://www.home-assistant.io/integrations/govee_ble",
"iot_class": "local_push",
"requirements": ["govee-ble==0.41.0"]
"requirements": ["govee-ble==0.42.0"]
}

2
requirements_all.txt generated
View File

@ -1046,7 +1046,7 @@ goslide-api==0.7.0
gotailwind==0.3.0
# homeassistant.components.govee_ble
govee-ble==0.41.0
govee-ble==0.42.0
# homeassistant.components.govee_light_local
govee-local-api==1.5.3

View File

@ -896,7 +896,7 @@ goslide-api==0.7.0
gotailwind==0.3.0
# homeassistant.components.govee_ble
govee-ble==0.41.0
govee-ble==0.42.0
# homeassistant.components.govee_light_local
govee-local-api==1.5.3