Skip to content

Commit 26f297f

Browse files
committed
ersion bump
1 parent f6f55d7 commit 26f297f

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# HyperHDR Control for Home Assistant
1+
Logger: homeassistant.helpers.frame
2+
Source: helpers/frame.py:324
3+
First occurred: 17:51:14 (2 occurrences)
4+
Last logged: 17:51:17
5+
6+
Detected that custom integration 'hyperhdr_control' calls async_forward_entry_setup for integration, hyperhdr_control with title: Boardgame Room Ambilight Controls and entry_id: 01JH76177VYW6KRHK4HF38RXDA, which is deprecated, await async_forward_entry_setups instead at custom_components/hyperhdr_control/__init__.py, line 40: hass.async_create_task(. This will stop working in Home Assistant 2025.6, please report it to the author of the 'hyperhdr_control' custom integration
7+
Detected that custom integration 'govee_lan' calls async_forward_entry_setup for integration, govee_lan with title: Govee Boardgame Room LAN Control and entry_id: 01JH8QA1X1219F5NX1AVFYW8HF, which is deprecated, await async_forward_entry_setups instead at custom_components/govee_lan/__init__.py, line 32: hass.async_create_task(. This will stop working in Home Assistant 2025.6, please create a bug report at https://github.com/wez/govee-lan-hass/issues# HyperHDR Control for Home Assistant
28

39
A Home Assistant integration to control HyperHDR LED controller. This integration provides switches to control the LED and USB capture devices, a brightness slider, and buttons to activate various effects.
410

custom_components/hyperhdr_control/__init__.py

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from homeassistant.core import HomeAssistant
66
from homeassistant.const import CONF_HOST, CONF_PORT, Platform
77
from homeassistant.helpers import device_registry as dr
8-
import asyncio
98

109
from .const import DOMAIN
1110

@@ -35,24 +34,13 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
3534
sw_version="1.3.3",
3635
)
3736

38-
# Set up all platforms
39-
for platform in PLATFORMS:
40-
hass.async_create_task(
41-
hass.config_entries.async_forward_entry_setup(entry, platform)
42-
)
43-
37+
# Set up all platforms using the recommended method
38+
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
4439
return True
4540

4641
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
4742
"""Unload a config entry."""
48-
unload_ok = all(
49-
await asyncio.gather(
50-
*[
51-
hass.config_entries.async_forward_entry_unload(entry, platform)
52-
for platform in PLATFORMS
53-
]
54-
)
55-
)
43+
unload_ok = await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
5644

5745
if unload_ok:
5846
hass.data[DOMAIN].pop(entry.entry_id)

custom_components/hyperhdr_control/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"codeowners": ["@johnneerdael"],
88
"requirements": ["aiohttp", "zeroconf"],
99
"iot_class": "local_polling",
10-
"version": "1.3.3",
10+
"version": "1.3.4",
1111
"config_flow": true,
1212
"zeroconf": ["_hyperhdr-http._tcp.local."],
1313
"logo": "https://raw.githubusercontent.com/johnneerdael/hyperhdr_control/main/hyperhdr_control-logo.png"

0 commit comments

Comments
 (0)