Skip to content

Instantly share code, notes, and snippets.

View mateuszdrab's full-sized avatar

Mateusz Drab mateuszdrab

View GitHub Profile
@mateuszdrab
mateuszdrab / link_multiple_devices_invert.yaml
Last active March 9, 2026 11:28 — forked from aderusha/link_multiple_devices.yaml
Select multiple entities to link their on/off state. If any selected entity is turned on or off, the other selected entities will be sent a matching on or off command.
@mateuszdrab
mateuszdrab / migrate-acr-registry.sh
Created April 8, 2025 11:34
Simple script to migrate all images from ACR to an alternative registry
#!/bin/bash
# This script migrates images from one Azure Container Registry (ACR) to another registry.
# Run this script in a bash shell with the Azure CLI installed and authenticated.
# Make sure containerd is installed and running.
# Usage: ./migrate-acr-registry.sh <acr_name> <target_registry_name> <target_registry_username> <target_registry_password>
# Primary intention is to migrate images from ACR to another registry including multiplatform images and all tags.
set -ex
esp32:
board: esp32dev
# framework:
# type: arduino
logger:
level: DEBUG
esp32_ble_tracker: