Skip to content

Instantly share code, notes, and snippets.

View progrmr's full-sized avatar

Gary Morris progrmr

View GitHub Profile
@progrmr
progrmr / .gitignore
Last active August 29, 2015 14:14 — forked from adamgit/.gitignore
#########################
# .gitignore file for Xcode4 and Xcode5 Source projects
#
# Apple bugs, waiting for Apple to fix/respond:
#
# 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation?
#
# Version 2.3
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#
@progrmr
progrmr / HA_HomeAway_fix
Created January 13, 2025 18:51
Home Assistant fix for Home/Away location tracking
##############
# Part 1: create "distance" sensors in configuration.yaml, one for each person
# The two of us have phones running the HA app, so these are the ones used.
# This creates helper template devices that provide current distance to each person
sensor:
- platform: template
sensors:
distant_to_gary:
friendly_name: "Distance to Gary"
unit_of_measurement: 'mi'