Closed 786534786 closed 1 year ago
No one?
@786534786
You are trying to use constructors that don't exist anymore. Replace in comfoair.h line:
ComfoAirComponent(UARTComponent *parent) : Climate("comfoair"), PollingComponent(600), UARTDevice(parent) { }
with:
ComfoAirComponent(UARTComponent *parent) : Climate(), PollingComponent(600), UARTDevice(parent) { }
and in yaml file all lines like:
... = new Sensor("<sensor_name>")
with
... = new Sensor();
Thanks. Also needed to add in yaml file all lines with above and add to get an unique id in Home Assistant and a name:
ca->return_air_level->set_object_id("Comfoair Return Air Level");
ca->return_air_level->set_name("Comfoair Return Air Level");
Replace "return_air_level" with actual sensor settings
The problem
Since version 2023.4.0 of ESPHome it is no longer possible to compile the code below.
Here is the full log:
Which version of ESPHome has the issue?
2023.4.0
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
2023.5.4
What platform are you using?
ESP8266
Board
esp01_1m
Component causing the issue
climate or core
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
File comfoair.h