File: extract-devices.py

package info (click to toggle)
govee-local-api 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216 kB
  • sloc: python: 1,335; sh: 5; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 244 bytes parent folder | download
1
2
3
4
5
6
7
from govee_local_api.light_capabilities import GOVEE_LIGHT_CAPABILITIES

if __name__ == "__main__":
    models = [key for key in GOVEE_LIGHT_CAPABILITIES.keys()]

    print("Supported Govee light models:")
    print(",\n".join(sorted(models)))