Skip to content

Commit

Permalink
Fix WARNING attenuation: 11db is deprecated, use `attenuation: 12db…
Browse files Browse the repository at this point in the history
…` instead
  • Loading branch information
syssi committed Jul 26, 2024
1 parent 5b023bb commit cfc83cd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion yeelight_light_ceil26.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sensor:
- platform: adc
pin: GPIO35
name: "${name} power supply"
attenuation: 11db
attenuation: 12db

output:
- platform: ledc
Expand Down
4 changes: 2 additions & 2 deletions yeelight_light_ceiling11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ sensor:
- platform: adc
pin: GPIO36
name: "${name} adc1"
attenuation: 11db
attenuation: 12db
- platform: adc
pin: GPIO32
name: "${name} adc2"
attenuation: 11db
attenuation: 12db

output:
- platform: ledc
Expand Down
4 changes: 2 additions & 2 deletions yeelight_light_ceiling15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ sensor:
- platform: adc
pin: GPIO36
name: "${name} adc1"
attenuation: 11db
attenuation: 12db
- platform: adc
pin: GPIO32
name: "${name} adc2"
attenuation: 11db
attenuation: 12db

output:
- platform: ledc
Expand Down
2 changes: 1 addition & 1 deletion yeelight_light_ceiling22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sensor:
- platform: adc
pin: GPIO36
name: "${name} power supply"
attenuation: 11db
attenuation: 12db

output:
- platform: ledc
Expand Down

0 comments on commit cfc83cd

Please sign in to comment.