Skip to content

Instantly share code, notes, and snippets.

lpomfrey /
Last active December 19, 2023 03:22
AWS Lambda function for forwarding Alexa Intent requests to Home Assistant
# -*- coding: utf-8 -*-
import os
import json
import logging
import urllib3
_debug = os.environ.get('DEBUG', '').lower() in ('1', 'y', 'yes', 'true', 'on')
_logger = logging.getLogger('HomeAssistant-Intents')
_logger.setLevel(logging.DEBUG if _debug else logging.INFO)

Keybase proof

I hereby claim:

  • I am lpomfrey on github.
  • I am lpomfrey ( on keybase.
  • I have a public key whose fingerprint is 7EB1 A77A 8031 0B0D 3413 857F A0CF 3650 5ADE 6079

To claim this, I am signing this object: