Files
esphome/tests/components/scd4x/common-actions.yaml
T

12 lines
286 B
YAML

button:
- platform: template
name: SCD4x Actions
on_press:
- scd4x.perform_forced_calibration:
id: scd40
value: 419
- scd4x.perform_forced_calibration:
id: scd40
value: !lambda return 420;
- scd4x.factory_reset: scd40