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
| blueprint: | |
| name: Motion-Aware Light Control | |
| description: > | |
| Automatically controls lights based on motion detection, with optional conditions for illuminance and binary sensors. | |
| The automation can be disabled using binary sensors (e.g., sleep mode or movie watching) to prevent lights from turning on under certain conditions. | |
| Additionally, if the lights were already turned on and motion is detected, the automation will wait for the motion detection to clear before turning off the lights. | |
| domain: automation | |
| source_url: https://gist.github.com/pavax/ce9559c428b9a3c369ce79ef215ef1e2 | |
| homeassistant: |
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
| import { AfterViewInit, Directive, ElementRef, Inject } from '@angular/core'; | |
| import { AbstractSubscriber } from '../../core/abstract-subscriber'; | |
| import { filter, startWith, takeUntil } from 'rxjs/operators'; | |
| import { NavigationEnd, Router } from '@angular/router'; | |
| import { APP_BASE_HREF, Location } from '@angular/common'; | |
| function isSafariBrowser() { | |
| return navigator.vendor && navigator.vendor.indexOf('Apple') > -1 && | |
| navigator.userAgent && | |
| navigator.userAgent.indexOf('CriOS') === -1 && |
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
| <?xml version="1.0"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:output indent="no" omit-xml-declaration="yes"/> | |
| <xsl:strip-space elements="*"/> | |
| <xsl:template match="@*|node()"> | |
| <xsl:copy> | |
| <xsl:apply-templates select="@*|node()"/> | |
| </xsl:copy> | |
| </xsl:template> | |
| <xsl:template match="text()"> |
NewerOlder