Replace hardcoded max_power values with secret reference in lamp configuration files

This commit is contained in:
ZareMate 2025-02-17 23:11:16 +01:00
parent 458a0ab2a3
commit da9528371d
Signed by: zaremate
GPG Key ID: 369A0E45E03A81C3
3 changed files with 6 additions and 6 deletions

View File

@ -37,11 +37,11 @@ output:
- platform: libretiny_pwm
id: output_cold
pin: P26
max_power: 70% # Limit the cold white channel to 80%
max_power: !secret hama_max_power
- platform: libretiny_pwm
id: output_warm
pin: P24
max_power: 70% # Limit the warm white channel to 80%
max_power: !secret hama_max_power
light:
- platform: cwww

View File

@ -37,11 +37,11 @@ output:
- platform: libretiny_pwm
id: output_cold
pin: P26
max_power: 80% # Limit the cold white channel to 80%
max_power: !secret hama_max_power
- platform: libretiny_pwm
id: output_warm
pin: P24
max_power: 80% # Limit the warm white channel to 80%
max_power: !secret hama_max_power
light:
- platform: cwww

View File

@ -37,11 +37,11 @@ output:
- platform: libretiny_pwm
id: output_cold
pin: P26
max_power: 80% # Limit the cold white channel to 80%
max_power: !secret hama_max_power
- platform: libretiny_pwm
id: output_warm
pin: P24
max_power: 80% # Limit the warm white channel to 80%
max_power: !secret hama_max_power
light:
- platform: cwww