This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: Nagging Alerting Notification Automation | |
| description: > | |
| Trigger an alert based on the state of a given sensor. | |
| The Alert is send to a mobile app device and repeats as long as the sensor is in the given state. | |
| An additonal action can be specified. This might be useful to tts the message. | |
| domain: automation | |
| source_url: https://gist.github.com/pavax/08705e383bdd3b58ea7b75a1f01c7e54 | |
| input: | |
| sensor_entity: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Entities by Domain | |
| {% for d in states | groupby('domain') %} | |
| {% if loop.first %} Domains: {{loop.length}} | |
| {% endif %} - {{ d[0] }} ({{ states[d[0]] | count }}) | |
| - {{ states[d[0]] |map(attribute='entity_id')| list|join('\n - ') }} | |
| {% endfor %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: Low battery level detection & notification for all battery sensors | |
| description: Regularly test all sensors with 'battery' device-class for crossing | |
| a certain battery level threshold and if so execute an action. | |
| Forked from version by Schm1tz1 which was forked by original by sbyx. | |
| - changed results list delimiter from comma to newlines | |
| - added persistent notification action (but still support additional actions) | |
| - excludes mobile device battery sensors (adapted from blueprint by Marck) | |
| For any battery sensors that are not detected, use Customize to set | |
| device_class = battery. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Jack and the Rainbow, a Python program used to create rainbows in Minecraft on a Raspberry Pi. | |
| # Created by me and my grandson, Jack, as a programming project on his Raspberry Pi 4B. | |
| # The original version by Richard B. West (of which this is a fork) used colored wool blocks. | |
| # This one uses different block types that have at least some semblance of the different rainbow colors. | |
| # It still uses wool for two colors as there just do not appear to be other block types that are close enough. | |
| # Need code to connect to Minecraft | |
| import mcpi.minecraft as minecraft | |
| # Need code to control blocks |
NewerOlder