Closed mattapo closed 1 week ago
hey @mattapo let me give it a try and get back to u also u can join discord if you prefer a more instant response. most likely it's a bug I introduced previous days
can u show me your configuration?
Any simple configuration, but also your example yaml.
If u can share your configuration (full) it would be better. Also first try with just comfoair:
@mattapo which version of esphome are u using?
I'm using version 2024.6.6
can you try to
refresh: 0s
on the external component like so:
external_components:
- source: github://vekexasia/comfoair-esp32
components: [ comfoair ]
refresh: 0s
1 have this minimal configuration:
comfoair:
global_filters:
- throttle: 10
NOTE: if you need to set rx and tx pins do that
esphome clean file.yaml
or by using the three dots in the interface like shown here:and after that the error should go away as we found in discord with another user
I saw the change to the comfoair.h file, now it works. Thank you!
Hi, i use Esphome version 2024.6.6,
this error occurs during compilation:
" .platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bitset: In member function 'void std::bitset<_Nb>::_M_copy_from_ptr(const _CharT*, std::size_t, std::size_t, std::size_t, _CharT, _CharT)': src/esphome\components\comfoair\comfoair.h:14:18: error: expected unqualified-id before '(' token
define min(a,b) ((a) < (b) ? (a): (b))
src/esphome\components\comfoair\comfoair.h:14:18: error: expected unqualified-id before '(' token
define min(a,b) ((a) < (b) ? (a): (b))
src/esphome\components\comfoair\comfoair.h:14:18: error: expected unqualified-id before '(' token
define min(a,b) ((a) < (b) ? (a): (b))
"
Can you help me?