Closed Styx85 closed 4 years ago
Hi there. With latest esphome and your code I'm getting this config error.
caberliner@pop-os:~/.local/bin$ python esphome /home/caberliner/.local/bin/test/pir2.yaml run INFO Reading configuration... Failed config binary_sensor.template: [source /home/caberliner/.local/bin/test/pir2.yaml:77] platform: template id: motion name: PIR2 [update_interval] is an invalid option for [binary_sensor.template]. Did you mean [internal]? update_interval: never [source /home/caberliner/.local/bin/test/pir2.yaml:80] filters: [] device_class: motion lambda: return {};
caberliner@pop-os:~/.local/bin$ python esphome /home/caberliner/.local/bin/test/pir2.yaml run INFO Reading configuration... Failed config
binary_sensor.template: [source /home/caberliner/.local/bin/test/pir2.yaml:77] platform: template id: motion name: PIR2
[update_interval] is an invalid option for [binary_sensor.template]. Did you mean [internal]? update_interval: never [source /home/caberliner/.local/bin/test/pir2.yaml:80] filters: [] device_class: motion lambda: return {};
The problematic code is this line:
binary_sensor: platform: template id: motion name: "PIR2" update_interval: never filters: [] device_class: motion lambda: "return {};"
binary_sensor:
Without the line update interval it is working correctly.
Yes, the same problem!
I think that must have been removed at some point. I'll update the sample.
Hi there. With latest esphome and your code I'm getting this config error.
The problematic code is this line:
Without the line update interval it is working correctly.