Skip to content

zefanjajobse/ics_2000_python

Repository files navigation

Python KlikAanKlikUit ICS-2000 library

This library gives methods to control a ICS-2000 from KlikAanKlikUit. It is made to add support for this device within Home assistant, which implementation is available in this repository.

Usage example:

hub = Hub("example@email.com", "password")
hub.login() # Authenticate
hub.get_devices() # request devices
for device in hub.devices:
    if type(device) is SwitchDevice or type(device) is DimDevice:
        print(device.name)
        if device.get_on_status(): # returns bool
            device.turn_off(False) # turn a device off