Skip to content

Instantly share code, notes, and snippets.

@PierpaoloPernici
PierpaoloPernici / multitail.conf
Created May 5, 2019 07:12
Multitail setup for home-assistant
#Possible colors: red, green, yellow, blue, magenta, cyan and white.
colorscheme:hass:Home Assistant
cs_re:blue:^.......... ..:..:..
cs_re:red:(\sERROR\s)
cs_re:yellow:(\sWARNING\s)
cs_re:blue:(\sDEBUG\s)
cs_re:cyan::
cs_re:green:\[
cs_re:green:\]
cs_re:green:\(
@m33x
m33x / hass.js
Last active April 14, 2025 12:31
Simple Home Assistant (HASS) iOS Widget via Scriptable App
let widget = await createWidget();
if (!config.runsInWidget) {
await widget.presentSmall();
}
Script.setWidget(widget);
Script.complete();
async function createWidget(items) {
@mallendeo
mallendeo / 100.conf
Last active March 13, 2025 21:19
Windows 11 Gaming VM on Proxmox VFIO
##/etc/pve/qemu-server/100.conf
##Network and disks not included in this example
##Set halt_poll_ns
#set_halt_poll 0
##CPU pinning
#cpu_taskset 1-7
#assign_interrupts --sleep=10s 1-7 --all
agent: 1
@ndbroadbent
ndbroadbent / ha_compile_jinja.service
Last active November 2, 2023 16:36
Script to compile and format *.yaml.jinja files in Home Assistant config directory (Including systemd service)
[Unit]
Description=Compile Jinja templates to YAML in Home Assistant config directory
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=3
ExecStart=/opt/ha_compile_jinja.sh
@Blackshome
Blackshome / sensor-light.yaml
Last active May 21, 2025 00:05
Home Assistant Sensor Light that can be used in Blueprints
blueprint:
name: Sensor Light
description: >
# 💡 Sensor Light
**Version: 8.2**
Your lighting experience, your way - take control and customize it to perfection! 💡✨
@legendof-selda
legendof-selda / mkdocs_azure_wiki_sync.yml
Last active December 9, 2024 17:28
GitHub action which syncs mkdocs to azure devops wiki.
name: Publish docs via GitHub Pages
# syncs your mkdocs markdown files with azure devops wiki.
# NOTE: this doesn't work with automated markdown files which maybe generated in your case
# this also doesn't deal with ordering
on:
push:
branches:
- develop
workflow_dispatch: