Skip to content

Commit

Permalink
Allow to disable eco2 reporting in favor of co2
Browse files Browse the repository at this point in the history
Disable eCO2 via `-s disable_eco2 true` build parameter
  • Loading branch information
foosel committed Dec 28, 2023
1 parent 62b6571 commit 7c7531c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firmware/packages/tvoc.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
substitutions:
eco2_baseline: "0x0000"
tvoc_baseline: "0x0000"
disable_eco2: "false"

sensor:
- platform: sgp30
eco2:
name: "eCO2"
id: eco2
accuracy_decimals: 2
internal: ${disable_eco2}
tvoc:
name: "TVOC"
id: tvoc
Expand Down

0 comments on commit 7c7531c

Please sign in to comment.