Skip to content

Instantly share code, notes, and snippets.

lpomfrey /
Created Oct 16, 2019
AWS Lambda function for forwarding Alexa Intent requests to Home Assistant
# -*- coding: utf-8 -*-
import os
import json
import logging
import urllib3
_debug = bool(os.environ.get('DEBUG'))
_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: