mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
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>
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user