Skip to content

Commit

Permalink
add support tl31 and tl33 (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
petretiandrea committed Aug 11, 2023
1 parent a79c708 commit 4abad00
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions custom_components/tapo/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"l520": [ColorMode.ONOFF, ColorMode.BRIGHTNESS],
"l510": [ColorMode.ONOFF, ColorMode.BRIGHTNESS],
"l610": [ColorMode.ONOFF, ColorMode.BRIGHTNESS],
"tl33": [ColorMode.ONOFF, ColorMode.BRIGHTNESS, ColorMode.COLOR_TEMP, ColorMode.HS],
"tl31": [ColorMode.ONOFF, ColorMode.BRIGHTNESS, ColorMode.COLOR_TEMP],
}
SUPPORTED_DEVICE_AS_LED_STRIP = ["l930", "l920", "l900"]

Expand Down
2 changes: 1 addition & 1 deletion custom_components/tapo/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"documentation": "https://github.com/petretiandrea/home-assistant-tapo-p100",
"issue_tracker": "https://github.com/petretiandrea/home-assistant-tapo-p100/issues",
"requirements": [
"plugp100==3.5.0"
"plugp100==3.6.0"
],
"dependencies": [],
"integration_type": "hub",
Expand Down
1 change: 0 additions & 1 deletion custom_components/tapo/setup_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ async def setup_from_platform_config(
polling_rate,
)


def _get_or_create_api_client(
hass: HomeAssistant, username: str, password: str, unique_id: str
) -> TapoClient:
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
homeassistant==2022.12.8
plugp100==3.5.0
plugp100==3.6.0

0 comments on commit 4abad00

Please sign in to comment.