During compilation following line reported as having error, as well exactly previous has.
Error is in line 1600 where state() wrongly used.
/config/esphome/zzz-d1mini.yaml: In lambda function:
/config/esphome/zzz-d1mini.yaml:62:27: error: expression cannot be used as a function
62 | filters:
| ^
*** [.pioenvs/zzz-d1mini/src/main.cpp.o] Error 1
The problem
During compilation following line reported as having error, as well exactly previous has. Error is in line 1600 where
state()
wrongly used.Which version of ESPHome has the issue?
2024.4.1
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP8266
Board
No response
Component causing the issue
binary_sensor
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response