mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Add support for SimpliSafe Smoke+CO detector (#93217)
This commit is contained in:
parent
0828cc0e44
commit
b9798e4f4f
@ -27,6 +27,7 @@ SUPPORTED_BATTERY_SENSOR_TYPES = [
|
||||
DeviceTypes.MOTION,
|
||||
DeviceTypes.SIREN,
|
||||
DeviceTypes.SMOKE,
|
||||
DeviceTypes.SMOKE_AND_CARBON_MONOXIDE,
|
||||
DeviceTypes.TEMPERATURE,
|
||||
]
|
||||
|
||||
@ -38,6 +39,9 @@ TRIGGERED_SENSOR_TYPES = {
|
||||
DeviceTypes.MOTION: BinarySensorDeviceClass.MOTION,
|
||||
DeviceTypes.SIREN: 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:
|
||||
DeviceTypes.SMOKE_AND_CARBON_MONOXIDE: BinarySensorDeviceClass.SMOKE,
|
||||
}
|
||||
|
||||
|
||||
|
@ -13,5 +13,5 @@
|
||||
"integration_type": "hub",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["simplipy"],
|
||||
"requirements": ["simplisafe-python==2023.04.0"]
|
||||
"requirements": ["simplisafe-python==2023.05.0"]
|
||||
}
|
||||
|
@ -2357,7 +2357,7 @@ simplehound==0.3
|
||||
simplepush==2.1.1
|
||||
|
||||
# homeassistant.components.simplisafe
|
||||
simplisafe-python==2023.04.0
|
||||
simplisafe-python==2023.05.0
|
||||
|
||||
# homeassistant.components.sisyphus
|
||||
sisyphus-control==3.1.2
|
||||
|
@ -1702,7 +1702,7 @@ simplehound==0.3
|
||||
simplepush==2.1.1
|
||||
|
||||
# homeassistant.components.simplisafe
|
||||
simplisafe-python==2023.04.0
|
||||
simplisafe-python==2023.05.0
|
||||
|
||||
# homeassistant.components.slack
|
||||
slackclient==2.5.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user