Skip to content

Instantly share code, notes, and snippets.

View balrog-kun's full-sized avatar

Andrew Zaborowski balrog-kun

View GitHub Profile
@JBelinchon
JBelinchon / device_tracker.py
Last active February 1, 2020 17:36
Home Assistant custom_component device tracker
"""
Tracks devices by sending a ICMP echo request (ping) and query arp table.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/device_tracker.ping/
"""
import logging
import subprocess
import sys
import re
@matt2005
matt2005 / lambda_function.py
Last active November 10, 2024 13:01 — forked from awarecan/lambda_function.py
Alexa Smart Home Skill Adapter for Home Assistant
"""
Copyright 2019 Jason Hu <awaregit at gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software