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: Room Motion Adaptive Lighting | |
description: > | |
Final version: supports up to 10 lights, motion triggers, adaptive brightness, | |
sleep mode dimming, unified manual override, proper logic separation, always-on | |
when dark mode, and configurable transition times for smooth lighting changes. | |
domain: automation | |
input: | |
motion_sensor: | |
name: Motion Sensor |
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: Garden Sprinkler Automation (Advanced) | |
description: > | |
Automates a garden sprinkler with a smart switch, using OpenWeather forecast data. | |
- Runs only on selected days and times | |
- Uses forecasted max temperature for watering decision | |
- Skips watering if both today and tomorrow have more than 5mm rain forecast | |
- Adjusts watering duration based on forecast temperature | |
domain: automation |
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
#!/bin/bash | |
# Purpose: Update all lxc vms | |
# Note: Tested on Debian 10 only | |
# ------------------------------------------------------- | |
# Get the vm list | |
vms="$(lxc-ls --active)" | |
# Update each vm | |
update_vm(){ |