Replace hardcoded max_power values with secret reference in lamp configuration files
This commit is contained in:
		
							parent
							
								
									458a0ab2a3
								
							
						
					
					
						commit
						da9528371d
					
				| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user