Node Property | Value | Node Property | Value |
---|---|---|---|
Name | Big Timer |
||
Comment | empty | ||
On Time | Dusk |
Off Time | 23:45 |
On Time2 | 13:00 |
Off Time2 | 13:15 |
This file contains 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
# Webhook URL: https://[your-hass-domain]/api/webhook/2qDFuSEBA7jU2sNjaK6JD5ac3FxnGfVTSF | |
- id: webhook_debugger | |
alias: "Webhook Debugger" | |
trigger: | |
- platform: webhook | |
webhook_id: 2qDFuSEBA7jU2sNjaK6JD5ac3FxnGfVTSF | |
action: | |
- service: persistent_notification.create | |
data_template: |
This file contains 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
#!/bin/bash | |
readonly BACKUP_DIR=/backup/speck | |
usage() { | |
echo "usage: $(basename "$0") addon_name" 2>&1 | |
exit 1 | |
} | |
addon_install() { |
This file contains 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
http: | |
... | |
trusted_networks: | |
- 127.0.0.1 | |
rest_command: | |
ha_rest_api: | |
url: "http://localhost:8123/api/services/{{ service|replace('.', '/') }}" | |
method: post | |
content_type: application/json |
This file contains 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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# pylint: disable=invalid-name | |
"""Forward messages from twitch chat to discord chat or the other way around""" | |
#--------------------------------------- | |
# Libraries and references | |
#--------------------------------------- | |
import codecs | |
import json | |
import os |
This file contains 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
title: Home | |
views: | |
- title: View 1 | |
cards: | |
- &card1 | |
type: entities | |
title: Card 1 | |
show_header_toggle: false | |
entities: | |
- light.bedroom |
This file contains 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
title: Home | |
views: | |
- title: Header | |
icon: mdi:car | |
panel: true | |
cards: | |
- type: vertical-stack | |
cards: | |
- type: glance | |
entities: |
This file contains 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
# Add to file: /etc/fail2ban/jail.local | |
[nginx-badbots] | |
enabled = true | |
port = http,https | |
filter = nginx-badbots | |
logpath = %(nginx_access_log)s | |
maxretry = 1 | |
findtime = 604800 | |
bantime = 604800 |
This file contains 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
""" | |
Migration tool for Home Assistant Lovelace UI. | |
""" | |
import argparse | |
import logging | |
import sys | |
import json | |
from collections import OrderedDict | |
from getpass import getpass |