Add Arduino.h for digitalWrite

This commit is contained in:
Qi Liu
2024-06-09 09:08:48 -07:00
parent 0ed07460f8
commit bd896bcfb5

View File

@@ -3,6 +3,7 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/uart/uart.h"
#include "esphome/core/component.h"
#include <Arduino.h>
// If the instant watts being consumed meter reading is outside of these ranges,
// the sample will be ignored which helps prevent garbage data from polluting