How to use aiolifx - 1 common examples

To help you get started, we’ve selected a few aiolifx examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github home-assistant / home-assistant / homeassistant / components / lifx / config_flow.py View on Github external
async def _async_has_devices(hass):
    """Return if there are devices that can be discovered."""
    lifx_ip_addresses = await aiolifx.LifxScan(hass.loop).scan()
    return len(lifx_ip_addresses) > 0

aiolifx

API for local communication with LIFX devices over a LAN with asyncio.

MIT
Latest version published 3 months ago

Package Health Score

59 / 100
Full package analysis

Popular aiolifx functions