Source: switchbot-api Maintainer: Home Assistant Team Uploaders: Edward Betts , Section: python Priority: optional Build-Depends: debhelper-compat (= 13), dh-sequence-python3, pybuild-plugin-pyproject, python3-aiohttp , python3-all, python3-poetry-core, Build-Depends-Indep: python3-aioresponses , python3-pytest , python3-covdefaults , python3-pytest-asyncio , python3-pytest-cov , python3-pytest-freezer , python3-syrupy , Standards-Version: 4.7.2 Homepage: https://github.com/SeraphicCorp/py-switchbot-api Vcs-Browser: https://salsa.debian.org/homeassistant-team/deps/switchbot-api Vcs-Git: https://salsa.debian.org/homeassistant-team/deps/switchbot-api.git Testsuite: autopkgtest-pkg-pybuild Package: python3-switchbot-api Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, Description: Asynchronous Python library for interacting with Switchbot API This library communicates with SwitchBot's cloud service over HTTPS, using an account token and secret key obtained from the SwitchBot mobile app. . It can list devices associated with a SwitchBot account, query device status, and send commands to supported devices via the SwitchBot Cloud API. This covers a range of SwitchBot products that are managed through a SwitchBot hub, including plugs and switches, curtains and blinds, lights, locks, sensors, humidifiers, fans, vacuums, and thermostats. . Status reporting includes device-specific readings such as power measurements for some plugs and relay switches, temperature and humidity from meter devices, occupancy or contact states from sensors, and battery level where provided by the cloud API. Command support includes common actions such as turning devices on or off, setting positions for covers, adjusting brightness and colour for lights, locking and unlocking, changing modes, and starting or pausing cleaning on supported vacuums. . The library talks to SwitchBot's cloud endpoints rather than directly to local devices. For devices accessed through the cloud, reported state is limited to what the service provides, and some appliance types may expose only partial control or inferred state.