| 1 |
import asyncio |
| 2 |
import logging |
| 3 |
import pprint |
| 4 |
|
| 5 |
from flux_led.aioscanner import AIOBulbScanner |
| 6 |
|
| 7 |
logging.basicConfig(level=logging.DEBUG) |
| 8 |
|
| 9 |
|
| 10 |
async def go(): |
| 11 |
scanner = AIOBulbScanner() |
| 12 |
pprint.pprint(await scanner.async_reboot("192.168.209.182")) |
| 13 |
|
| 14 |
|
| 15 |
asyncio.run(go()) |