Skip to content

Commit

Permalink
ersion bump
Browse files Browse the repository at this point in the history
  • Loading branch information
johnneerdael committed Jan 11, 2025
1 parent f6f55d7 commit 26f297f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# HyperHDR Control for Home Assistant
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: 17:51:14 (2 occurrences)
Last logged: 17:51:17

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
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

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.

Expand Down
18 changes: 3 additions & 15 deletions custom_components/hyperhdr_control/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from homeassistant.core import HomeAssistant
from homeassistant.const import CONF_HOST, CONF_PORT, Platform
from homeassistant.helpers import device_registry as dr
import asyncio

from .const import DOMAIN

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

# Set up all platforms
for platform in PLATFORMS:
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, platform)
)

# Set up all platforms using the recommended method
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
return True

async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Unload a config entry."""
unload_ok = all(
await asyncio.gather(
*[
hass.config_entries.async_forward_entry_unload(entry, platform)
for platform in PLATFORMS
]
)
)
unload_ok = await hass.config_entries.async_unload_platforms(entry, PLATFORMS)

if unload_ok:
hass.data[DOMAIN].pop(entry.entry_id)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hyperhdr_control/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeowners": ["@johnneerdael"],
"requirements": ["aiohttp", "zeroconf"],
"iot_class": "local_polling",
"version": "1.3.3",
"version": "1.3.4",
"config_flow": true,
"zeroconf": ["_hyperhdr-http._tcp.local."],
"logo": "https://raw.githubusercontent.com/johnneerdael/hyperhdr_control/main/hyperhdr_control-logo.png"
Expand Down

0 comments on commit 26f297f

Please sign in to comment.