Add simplisafe OUTDOOR_ALARM_SECURITY_BELL_BOX device type (#134386)
* Update binary_sensor.py to included OUTDOOR_ALARM_SECURITY_BELL_BOX device type Add support for DeviceTypes.OUTDOOR_ALARM_SECURITY_BELL_BOX This is an external siren device in Simplisafe which is not currently discovered with the HA integration * Fixed formatting error --------- Co-authored-by: Franck Nijhof <git@frenck.dev>pull/134795/merge
parent
0c5766184b
commit
51beb1c0a8
|
@ -34,6 +34,7 @@ SUPPORTED_BATTERY_SENSOR_TYPES = [
|
||||||
DeviceTypes.PANIC_BUTTON,
|
DeviceTypes.PANIC_BUTTON,
|
||||||
DeviceTypes.REMOTE,
|
DeviceTypes.REMOTE,
|
||||||
DeviceTypes.SIREN,
|
DeviceTypes.SIREN,
|
||||||
|
DeviceTypes.OUTDOOR_ALARM_SECURITY_BELL_BOX,
|
||||||
DeviceTypes.SMOKE,
|
DeviceTypes.SMOKE,
|
||||||
DeviceTypes.SMOKE_AND_CARBON_MONOXIDE,
|
DeviceTypes.SMOKE_AND_CARBON_MONOXIDE,
|
||||||
DeviceTypes.TEMPERATURE,
|
DeviceTypes.TEMPERATURE,
|
||||||
|
@ -47,6 +48,7 @@ TRIGGERED_SENSOR_TYPES = {
|
||||||
DeviceTypes.MOTION: BinarySensorDeviceClass.MOTION,
|
DeviceTypes.MOTION: BinarySensorDeviceClass.MOTION,
|
||||||
DeviceTypes.MOTION_V2: BinarySensorDeviceClass.MOTION,
|
DeviceTypes.MOTION_V2: BinarySensorDeviceClass.MOTION,
|
||||||
DeviceTypes.SIREN: BinarySensorDeviceClass.SAFETY,
|
DeviceTypes.SIREN: BinarySensorDeviceClass.SAFETY,
|
||||||
|
DeviceTypes.OUTDOOR_ALARM_SECURITY_BELL_BOX: BinarySensorDeviceClass.SAFETY,
|
||||||
DeviceTypes.SMOKE: BinarySensorDeviceClass.SMOKE,
|
DeviceTypes.SMOKE: BinarySensorDeviceClass.SMOKE,
|
||||||
# Although this sensor can technically apply to both smoke and carbon, we use the
|
# Although this sensor can technically apply to both smoke and carbon, we use the
|
||||||
# SMOKE device class for simplicity:
|
# SMOKE device class for simplicity:
|
||||||
|
|
Loading…
Reference in New Issue