Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: Wallpanel Battery Management
description: 'Control the charger for a permanently mounted tablet control panel.'
domain: automation
input:
battery:
name: Battery
description: This is the battery sensor for the device.
selector:
@malesci
malesci / oci_ubuntu_to_debian.multiarch.sh
Last active August 21, 2024 08:13 — forked from ishad0w/README.md
Debian 12 on Oracle Cloud (Free Tier) - (AMD64/ARM64)
#!/bin/bash
trap "exit" INT
# Checks whether an argument was passed for the SSH key
if [ -n "$2" ]; then
SSH_KEY="-i $2"
else
SSH_KEY=""
fi
echo -e "\nHost:"