Compare commits
No commits in common. "fdc292525f24e79c741b29bd0e7a4921c4d4b77e" and "c2691bb47b395d5521497316318703aa7759a680" have entirely different histories.
fdc292525f
...
c2691bb47b
@ -29,10 +29,10 @@ globals:
|
||||
# Configure the brightness values for the LED indicator
|
||||
- id: dim
|
||||
type: float
|
||||
initial_value: '0.35'
|
||||
initial_value: '0.5'
|
||||
- id: bright
|
||||
type: float
|
||||
initial_value: '0.5'
|
||||
initial_value: '1.0'
|
||||
|
||||
esphome:
|
||||
name: "d1-mini-scd40-${macsuffix}"
|
||||
|
@ -227,24 +227,11 @@ button:
|
||||
on_press:
|
||||
then:
|
||||
- scd4x.perform_forced_calibration:
|
||||
value: !lambda |-
|
||||
return id(co2_sensor_calibration_normal).state;
|
||||
# Average outdoor value for March 2023
|
||||
# https://www.co2.earth/daily-co2
|
||||
value: 421
|
||||
id: scd40
|
||||
|
||||
number:
|
||||
- platform: template
|
||||
id: co2_sensor_calibration_normal
|
||||
name: "${macsuffix} C02 Sensor Calibration Normal"
|
||||
mode: "box"
|
||||
optimistic: true
|
||||
unit_of_measurement: "ppm"
|
||||
# Average outdoor value for March 2023
|
||||
# https://www.co2.earth/daily-co2
|
||||
initial_value: 421
|
||||
min_value: 0
|
||||
max_value: 1000000
|
||||
step: 1
|
||||
|
||||
light:
|
||||
- platform: neopixelbus
|
||||
id: indicator
|
||||
|
Loading…
Reference in New Issue
Block a user