Skip to content

Instantly share code, notes, and snippets.

View alinefr's full-sized avatar

Aline Freitas alinefr

  • São Paulo/SP, Brazil
View GitHub Profile
@alinefr
alinefr / low-battery-level-detection-notification-for-all-battery-sensors.yaml
Last active July 24, 2023 21:09 — forked from sbyx/low-battery-level-detection-notification-for-all-battery-sensors.yaml
Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Low battery level detection & notification for all battery sensors
description: Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold and if so execute an action.
domain: automation
input:
threshold:
name: Battery warning level threshold
description: Battery sensors below threshold are assumed to be low-battery (as
well as binary battery sensors with value 'on').
@alinefr
alinefr / kit-aluno-aula-2
Created April 4, 2024 13:39
Arquivo docker-compose.yml para a aula de Banco de Dados
version: "3.4"
volumes:
volume_mysql_data:
services:
db:
image: alinefr/voos_eua_2016_mysql_sem_indices:latest
volumes: