-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tuya climate compilation error #5707
Comments
This was caused by esphome/esphome#5159. Clearly we don't have any tests for tuya climate. |
7 tasks
Thanks! |
I want to apologize to @ssieb @jesserockz and @zry98. Apparently I made the changes included in esphome/esphome#6568 but I never uploaded them. Thanks @zry98 for helping. |
This was referenced Apr 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
I'm getting the following compilation error when trying to update my ME-81H thermostat:
src/main.cpp: In function 'void setup()': src/main.cpp:360:41: error: invalid conversion from 'const char*' to 'uint8_t' {aka 'unsigned char'} [-fpermissive] 360 | tuya_tuyaclimate->set_active_state_id("datapoint"); | ^~~~~~~~~~~ | | | const char* In file included from src/esphome.h:54, from src/main.cpp:3: src/esphome/components/tuya/climate/tuya_climate.h:18:36: note: initializing argument 1 of 'void esphome::tuya::TuyaClimate::set_active_state_id(uint8_t)' 18 | void set_active_state_id(uint8_t state_id) { this->active_state_id_ = state_id; } | ~~~~~~~~^~~~~~~~
Which version of ESPHome has the issue?
2024.4.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.4.3
What platform are you using?
ESP8266
Board
No response
Component causing the issue
tuya climate
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: