Skip to content

Instantly share code, notes, and snippets.

View mystcb's full-sized avatar
🏡

Colin Barker mystcb

🏡
View GitHub Profile
@mystcb
mystcb / __init__.py
Created December 7, 2021 21:55
Home Assistant - TP-Link Plugin - KLAP Auth Hacks
"""Component to embed TP-Link smart home devices."""
from __future__ import annotations
import asyncio
from datetime import timedelta
from typing import Any
from kasa import SmartDevice, SmartDeviceException
from kasa.discover import Discover
from kasa.auth import Auth

Keybase proof

I hereby claim:

  • I am mystcb on github.
  • I am mystcb (https://keybase.io/mystcb) on keybase.
  • I have a public key whose fingerprint is 281A 90A7 065D CBBA B72D 780D 9129 5681 3735 B933

To claim this, I am signing this object: