Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Manage your Heatzy in Python
Check your config, enable or disable heater, change preset mode.
Use the PIP package manager
$ pip install heatzypy
Or manually download and install the last version from github
$ git clone https://github.com/cyr-ius/heatzypy.git
$ python setup.py install
# Import the heatzypy package.
import asyncio
from heatzypy import HeatzyClient
async def main():
api = HeatzyClient("username", "password")
devices = await api.async_get_devices()
for device in devices:
name = device.get("dev_alias")
data = await api.async_get_device(device["did"])
mode = data.get("attr").get("mode")
logger.info("Heater : {} , mode : {}".format(name, mode))
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Have a look at the example.py for a more complete overview.
Not implemented
FAQs
Provides authentication and access to Heatzy module
We found that heatzypy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.