Binary Sensor
binary-sensor
binary_sensor Base component for all binary on/off sensor types
Official Documentation
📚 ESPHome Documentation →Overview
The Binary Sensor component is the base for all components that report on/off, true/false, or present/absent states, such as buttons, motion sensors, door contacts, and digital inputs.