Binary Sensors Configuration (v0.9.x YAML)¶
[!WARNING] Legacy Configuration: This page describes manual YAML configuration in
/config/myhome.yamlused by MyHOME v0.9.x. In MyHOME v2.0+, binary sensors are configured directly via the Home Assistant user interface.
Three types of binary sensors are supported:
1. Dry Contacts (WHO = 25)¶
Dry contact interfaces (such as 3477) monitor physical magnetic door/window reed contacts, technical alarms, and pushbuttons:
who: Optional (defaults to25).where: Always'3'followed by the sensor number ('31','32', etc.).class: Highly recommended; any valid Home Assistantdevice_class(e.g.door,window,garage_door,moisture,smoke).
f454:
mac: '00:03:50:xx:xx:xx'
binary_sensor:
garage_door:
where: '31'
name: Garage door
class: garage_door
manufacturer: BTicino
model: 3477
front_door:
where: '32'
name: Front door
class: door
manufacturer: BTicino
model: 3477
2. Motion Sensors (WHO = 1)¶
Light and motion sensors configured in "scenario" mode:
who: Must be'1'.where: 4-digit APL address (e.g.'0312').class: Must be'motion'.
f454:
mac: '00:03:50:xx:xx:xx'
binary_sensor:
office_motion:
who: '1'
where: '0312'
name: Office Motion
class: motion
manufacturer: Legrand
model: 048822
3. Auxiliary Sensors from Burglar Alarm (WHO = 9)¶
Sensors connected to auxiliary inputs of the alarm system:
who: Must be'9'.where: Auxiliary input number ('0'through'9').class: Home Assistantdevice_class(e.g.motion,smoke,gas).
f454:
mac: '00:03:50:xx:xx:xx'
binary_sensor:
living_room_pir:
who: '9'
where: '1'
name: Motion Living Room
class: motion
manufacturer: BTicino
model: L4610
Common Supported Device Classes¶
door: Open / closedgarage_door: Open / closedwindow: Open / closedmotion: Detected / clearoccupancy: Detected / clearsmoke: Detected / cleargas: Detected / clearmoisture: Detected (wet) / clear (dry)connectivity: Connected / disconnectedpower: Power detected / no power