Wired input sensor state

Returns the state of the wired input zone. This is typically connected to a magnetic reed
switch on the garage door, but can be used for any dry-contact input such as a motion
sensor or push button.

ON = contact open (door open, motion detected, button pressed).
OFF = contact closed (door closed, no motion, button released).

v2 → v3 URL change:

  • v2 (ESPHome < 2026.7): /binary_sensor/wired_sensor
  • v3 (ESPHome ≥ 2026.7): /binary_sensor/Wired%20Sensor
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json