Binary Sensor - delayed_on_off doesn't work

Hello everybody,

The function

  - delayed_on_off:
      time_on: 10s
      time_off: 10s

is not working and gives the following error-code:

Does someone know whats wrong here?

Support for that was only added recently to ESPHome so you need to update your ESPHome installation