Skip to content

elanworld/homeassistant-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

a python lib to connect homeassistant using websocket

#usage:

install

pip install homeassistant-sdk
from homeassistant_sdk import HomeassistantSdk
from entity import Entity

def function(entity: Entity):
    print(entity)

sdk = HomeassistantSdk( "localhost:8123", "auth token")
sdk.subscribe_trigger("switch.entity_id", fun=function)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages