Skip to content

Instantly share code, notes, and snippets.

View gcampax's full-sized avatar

Giovanni Campagna gcampax

View GitHub Profile
@gcampax
gcampax / count_integrations.py
Last active June 14, 2021 23:17
Quick hack to count how many distinct device types are supported by Home Assistant
import sys
import os
import re
SKIP_FILES = {
# general files
'__init__.py',
'config_flow.py',
'const.py',

Keybase proof

I hereby claim:

  • I am gcampax on github.
  • I am gcampax (https://keybase.io/gcampax) on keybase.
  • I have a public key whose fingerprint is 0687 9504 377F 72A9 378A 308B D163 417D 3BD0 E762

To claim this, I am signing this object: