Hi,
I am trying to setup motion detecting but home assistant does not add my sensor and I cannot figure out why…
I have setup switches before and they showed up…
Here is the log output.
Here is the code of my nodemcu.
esphome:
name: sensor1
platform: ESP8266
board: nodemcuv2
wifi:
ssid: "Testers"
password: "******"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
binary_sensor:
- platform: gpio
pin: D0
name: "PIRSensor1"
device_class: motion
output:
- platform: gpio
pin: D1
id: allon