Binary Sensors

Misc examples using binary sensors.

Combined Sensors

Combines multiple binary sensors (using the or keyword).

Usage Ideas
  • Create a single home smoke detector from mutiple smoke sensors
binary_sensor:
- platform: template
sensors:
front_yard_motion:
friendly_name: "Front Yard Motion"
device_class: motion
value_template: >
{{ is_state('binary_sensor.front_yard_left_motion', 'on') or
is_state('binary_sensor.front_yard_right_motion', 'on') }}