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
Trevor Morgan 2025-03-01 19:26:04 +00:00 committed by GitHub
parent 0c5766184b
commit 51beb1c0a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ SUPPORTED_BATTERY_SENSOR_TYPES = [
DeviceTypes.PANIC_BUTTON,
DeviceTypes.REMOTE,
DeviceTypes.SIREN,
DeviceTypes.OUTDOOR_ALARM_SECURITY_BELL_BOX,
DeviceTypes.SMOKE,
DeviceTypes.SMOKE_AND_CARBON_MONOXIDE,
DeviceTypes.TEMPERATURE,
@ -47,6 +48,7 @@ TRIGGERED_SENSOR_TYPES = {
DeviceTypes.MOTION: BinarySensorDeviceClass.MOTION,
DeviceTypes.MOTION_V2: BinarySensorDeviceClass.MOTION,
DeviceTypes.SIREN: BinarySensorDeviceClass.SAFETY,
DeviceTypes.OUTDOOR_ALARM_SECURITY_BELL_BOX: BinarySensorDeviceClass.SAFETY,
DeviceTypes.SMOKE: BinarySensorDeviceClass.SMOKE,
# Although this sensor can technically apply to both smoke and carbon, we use the
# SMOKE device class for simplicity: