File: disable_remote_access.py

package info (click to toggle)
flux-led 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 864 kB
  • sloc: python: 13,998; makefile: 8; sh: 5
file content (15 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import asyncio
import logging
import pprint

from flux_led.aioscanner import AIOBulbScanner

logging.basicConfig(level=logging.DEBUG)


async def go():
    scanner = AIOBulbScanner()
    pprint.pprint(await scanner.async_disable_remote_access("192.168.106.198"))


asyncio.run(go())