No project description provided
Project description
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:
from ics_2000.entities.dim_device import DimDevice
from ics_2000.entities.switch_device import SwitchDevice
from ics_2000.hub import Hub
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ics_2000_python-0.1.2.tar.gz
(12.3 kB
view details)
Built Distribution
File details
Details for the file ics_2000_python-0.1.2.tar.gz
.
File metadata
- Download URL: ics_2000_python-0.1.2.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/24.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c479d3b64c9ed4b55c2b9c314edce0dd99655397a00e041beda8444f88f9520a |
|
MD5 | dc14a5772d245ac82dfb599491e8d3f8 |
|
BLAKE2b-256 | f110b16557203f1b0b5efac273f641736e81d26630c631e77877590788e08e7c |
File details
Details for the file ics_2000_python-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ics_2000_python-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/24.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39420170a7fef06df59bf2dc1ddc7f00e7a4fb47778b475ecf6bb5bb7d29fc35 |
|
MD5 | 9ee899edb783dfa311cf5c0452ad9a14 |
|
BLAKE2b-256 | 6d089a7ea6da2a0e0e2e8cc08ba707e27cae85522d316d003509cb4fa2224e53 |