File: device_data.py

package info (click to toggle)
python-asyncarve 0.1.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 92 kB
  • sloc: python: 250; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 326 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
from asyncarve import Arve
import asyncio


async def main() -> None:
    async with Arve("249e597c-e0cc-436e-abbd-867d61d6c5a9", "73bdb639-a454-4f9e-879c-793ee39bb268") as arv_cl:
        data = await arv_cl.device_sensor_data("A0120-0000-0000-1798")

        print(data)


if __name__ == "__main__":
    asyncio.run(main())