In file included from .piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson/Array/ArrayIterator.hpp:8,
from .piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:8,
from .piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson.hpp:17,
from .piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson.h:9,
from src/esphome/components/json/json_util.h:11,
from src/esphome/core/string_ref.h:10,
from src/esphome/core/entity_base.h:5,
from src/esphome/components/binary_sensor/binary_sensor.h:4,
from src/esphome/components/binary_sensor/automation.h:9,
from src/esphome.h:3,
from src/main.cpp:3:
.piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson/Variant/VariantRef.hpp: In instantiation of 'typename ArduinoJson6185_D1::enable_if<((! ArduinoJson6185_D1::is_same<T, char*>::value) && (! ArduinoJson6185_D1::is_same<T, char>::value)), T>::type ArduinoJson6185_D1::VariantConstRef::as() const [with T = ArduinoJson6185_D1::ArrayRef; typename ArduinoJson6185_D1::enable_if<((! ArduinoJson6185_D1::is_same<T, char*>::value) && (! ArduinoJson6185_D1::is_same<T, char>::value)), T>::type = ArduinoJson6185_D1::ArrayRef]':
.piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson/Variant/VariantRef.hpp:296:17: required from 'ArduinoJson6185_D1::VariantConstRef::operator T() const [with T = ArduinoJson6185_D1::ArrayRef]'
/config/lifesmart3.yaml:36:31: required from here
.piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson/Variant/VariantRef.hpp:253:34: error: invalid use of incomplete type 'class ArduinoJson6185_D1::InvalidConversion<ArduinoJson6185_D1::VariantConstRef, ArduinoJson6185_D1::ArrayRef>'
253 | return Converter<T>::fromJson(*this);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from .piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson/Variant/VariantRef.hpp:14,
from .piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson/Array/ArrayIterator.hpp:8,
from .piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:8,
from .piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson.hpp:17,
from .piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson.h:9,
from src/esphome/components/json/json_util.h:11,
from src/esphome/core/string_ref.h:10,
from src/esphome/core/entity_base.h:5,
from src/esphome/components/binary_sensor/binary_sensor.h:4,
from src/esphome/components/binary_sensor/automation.h:9,
from src/esphome.h:3,
from src/main.cpp:3:
.piolibdeps/lifesmart3/ArduinoJson/src/ArduinoJson/Variant/Converter.hpp:14:7: note: declaration of 'class ArduinoJson6185_D1::InvalidConversion<ArduinoJson6185_D1::VariantConstRef, ArduinoJson6185_D1::ArrayRef>'
14 | class InvalidConversion; // Error here? See https://arduinojson.org/v6/invalid-conversion/
| ^~~~~~~~~~~~~~~~~
*** [.pioenvs/lifesmart3/src/main.cpp.o] Error 1