Home Assistant not detecting my ESPHome Binary Motion sensor

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

Have you added it to home assistant? Configuration|Integrations|+ sign.

1 Like

Thank you !!
This is what I was missing…

I feel pretty stupid now hehe, I will remember the next time !!