Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
Merge pull request #50 from DCSBL/development
Browse files Browse the repository at this point in the history
Merge development into master
  • Loading branch information
DCSBL authored Aug 23, 2021
2 parents 2d3a53d + a4e747a commit 67b0970
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions custom_components/homewizard_energy/switch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Creates Homewizard Energy switch entities."""
from __future__ import annotations

from typing import Any, Final

Expand Down Expand Up @@ -33,7 +34,7 @@

Logger = logging.getLogger(__name__)

SWITCHES: Final[list[SwitchEntityDescription]] = [
SWITCHES: Final[tuple[SwitchEntityDescription, ...]] = (
SwitchEntityDescription(
key=ATTR_POWER_ON, name="Switch", device_class=DEVICE_CLASS_OUTLET
),
Expand All @@ -43,7 +44,8 @@
device_class=DEVICE_CLASS_SWITCH,
icon="mdi:lock",
),
]
)



async def async_setup_entry(
Expand Down

0 comments on commit 67b0970

Please sign in to comment.