diff --git a/README.md b/README.md index a0ae35e8..5fb6e8b2 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is my Home Assistant Configuration created with the All In One installer [expanded to 16GB.](https://community.home-assistant.io/t/expanding-partition-on-sd-card-for-raspberry-pi-with-noobs-pre-installed/2036) I update it pretty regularly. Home Assistant runs on my [Raspberry Pi 3](http://amzn.to/2e3DOBY) with [Aeon Labs Z Wave Stick (GEN 5)](http://amzn.to/2eAiAP0). I've also added a [433Mhz Transmitter and receiver](http://amzn.to/2dceNY2) -Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](https://github.com/maddox/dasher), SSL via [SSLS](SSLS.com) - 5 Bucks A Year! +Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](https://github.com/maddox/dasher), SSL via [SSLS](SSLS.com) - 5 Bucks A Year! , [HomeBridge](https://github.com/nfarina/homebridge) for full HA <-> Homekit compatibility. **Devices I have :** * Lots of iOS Devices (iPads, iPods, iPhones) @@ -22,7 +22,7 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt * [AMPs](http://amzn.to/2j18dlT) - These are cheap but effective for the Dots, Chromecasts or other speakers. * [Etekcity Outlets](http://amzn.to/2efNoBP) * [Door Sensors (AEON Labs)](http://amzn.to/2e3xDxY) -* [Garadget](http://amzn.to/2jQLpVQ) - Garage Door opener/sensor +* [Garadget](http://amzn.to/2jQLpVQ) - Garage Door opener/sensor - "[Siri, are my garage doors closed?](https://pbs.twimg.com/media/C3cyJZSWAAAalPm.jpg:large)" * Nintendo Wii * Emulated Hue pushes all Switch, Group, input_boolean, script and scene information to Alexa for First Class Control! * [iTeadStudio goodies](https://twitter.com/ccostan/status/793119824008384512) - SonOff and SonOn with a Slampher! diff --git a/shell_scripts/Jinja Code.py b/shell_scripts/Jinja Code.py index 469d646a..b4868b1e 100755 --- a/shell_scripts/Jinja Code.py +++ b/shell_scripts/Jinja Code.py @@ -1,9 +1,9 @@ You can use this code to quickly create files from the template editor in HA. I use it mainly for `emulated_hue` and to quickly add in new Customize options to all things HA! -#########################################################3 -Create fast Customize for groups.yaml: +######################################################### +Create fast Customize for groups, sensors, covers etc... -{% for state in states.group -%} +{% for state in states.sensor -%} {% if loop.first %} {% elif loop.last %} {% else %} @@ -13,6 +13,7 @@ Create fast Customize for groups.yaml: emulated_hue: {{state.attributes.emulated_hue if state.attributes.emulated_hue is defined else 'False' }} hidden: {{state.attributes.hidden if state.attributes.hidden is defined else "False"}} {{'icon: '+ state.attributes.icon if state.attributes.icon is defined}} + {{'homebridge_cover_type: '+ state.attributes.homebridge_cover_type if state.attributes.homebridge_cover_type is defined}} {% endfor -%} #########################################################