Skip to content

Commit

Permalink
Merge pull request #20 from dmamontov/version/3.0.0
Browse files Browse the repository at this point in the history
Upgrade HASS version
  • Loading branch information
dmamontov authored Mar 14, 2023
2 parents 5a95211 + 05e71e3 commit 473507a
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion custom_components/ledfx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def async_start(with_sleep: bool = False) -> None:
if with_sleep:
await asyncio.sleep(DEFAULT_SLEEP)

hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

if is_new:
await async_start()
Expand Down
1 change: 1 addition & 0 deletions custom_components/ledfx/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def add_button(entity: LedFxEntityDescription) -> None:
)


# pylint: disable=too-many-ancestors
class LedFxButton(LedFxEntity, ButtonEntity):
"""LedFx button entry."""

Expand Down
1 change: 1 addition & 0 deletions custom_components/ledfx/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def add_device(entity: LedFxEntityDescription) -> None:
)


# pylint: disable=too-many-ancestors
class LedFxLight(LedFxEntity, LightEntity):
"""LedFx light entry."""

Expand Down
18 changes: 11 additions & 7 deletions custom_components/ledfx/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"domain": "ledfx",
"name": "LedFx",
"version": "2.1.0",
"codeowners": [
"@dmamontov"
],
"config_flow": true,
"dependencies": [
"http"
],
"documentation": "https://github.com/dmamontov/hass-ledfx/wiki",
"iot_class": "local_polling",
"issue_tracker": "https://github.com/dmamontov/hass-ledfx/issues",
"config_flow": true,
"quality_scale": "platinum",
"requirements": [],
"dependencies": ["http"],
"codeowners": ["@dmamontov"],
"iot_class": "local_polling",
"quality_scale": "platinum"
}
"version": "3.0.0"
}
1 change: 1 addition & 0 deletions custom_components/ledfx/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def add_switch(entity: LedFxEntityDescription) -> None:
)


# pylint: disable=too-many-ancestors
class LedFxSwitch(LedFxEntity, SwitchEntity):
"""LedFx switch entry."""

Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "LedFx",
"render_readme": true,
"homeassistant": "2022.4.0"
"homeassistant": "2023.3.0"
}

0 comments on commit 473507a

Please sign in to comment.