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
// This will make the following conditions true: | |
// 1) Does not match hostnames | |
// 2) Cannot start or end with a dot | |
// 3) Cannot start or end with a hyphen | |
// 4) Number 3 applies for the hostname as well | |
// 5) Two punctuations after each other is not allowed | |
// 6) Cannot be an IP address | |
// 7) Can only use the characters: [0-9A-Za-z], punctuations, and hyphens | |
/* |
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
/* | |
* Beregn lønningsdage ud fra et årstal | |
* | |
* Den tager højde for officielle banklukkedage, | |
* som kun kan påvirkes af Store bededag og Nytårsdag, | |
* da disse datoer kan lande på sidste hverdag på en måned, | |
* såsom Store bededag 2021 som er fredag d. 30. april | |
*/ | |
using System.Globalization; |
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: MULTI-ZIG-SW | |
description: Blueprint for controlling actions based on button presses of the MULTI-ZIG-SW. | |
domain: automation | |
input: | |
controller_entity: | |
name: MULTI-ZIG-SW Entity | |
description: The action sensor of the device to use for the automation. | |
default: '' | |
selector: |
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: QUAD-ZIG-SW | |
description: Blueprint for controlling actions based on button presses of the QUAD-ZIG-SW. | |
domain: automation | |
input: | |
controller_entity: | |
name: QUAD-ZIG-SW Entity | |
description: The action sensor of the device to use for the automation. | |
default: '' | |
selector: |