Add motion binary sensor (#44445)
parent
da66a4e933
commit
687f90e164
|
@ -3,6 +3,7 @@ from homeassistant.components.binary_sensor import (
|
|||
DEVICE_CLASS_CONNECTIVITY,
|
||||
DEVICE_CLASS_GAS,
|
||||
DEVICE_CLASS_MOISTURE,
|
||||
DEVICE_CLASS_MOTION,
|
||||
DEVICE_CLASS_OPENING,
|
||||
DEVICE_CLASS_POWER,
|
||||
DEVICE_CLASS_PROBLEM,
|
||||
|
@ -70,6 +71,9 @@ SENSORS = {
|
|||
default_enabled=False,
|
||||
removal_condition=is_momentary_input,
|
||||
),
|
||||
("sensor", "motion"): BlockAttributeDescription(
|
||||
name="Motion", device_class=DEVICE_CLASS_MOTION
|
||||
),
|
||||
}
|
||||
|
||||
REST_SENSORS = {
|
||||
|
|
Loading…
Reference in New Issue