init upload

This commit is contained in:
2026-04-27 13:34:09 +02:00
commit 9dca482d42
21 changed files with 1118 additions and 0 deletions

22
sonoff-m5/backlight.yaml Normal file
View File

@@ -0,0 +1,22 @@
# NOTE: This file is not a stand-alone package. It is part of
# a 'root' device template and expects the substitutions that
# are hereby referenced to be defined by its parent.
output:
# Physical GPIO PWM for off-state background brightness
# This pin controls the background brightness for all LEDs
# physically attached to the relays
- platform: ledc
id: pwm_output
pin: GPIO18
frequency: 1000 Hz
light:
# HA UI connection to the background brightness (PWM) pin
- platform: monochromatic
output: pwm_output
name: "Background Brightness"
restore_mode: RESTORE_DEFAULT_OFF
icon: 'mdi:led-outline'
entity_category: 'config'