diff --git a/homeassistant/components/simplisafe/binary_sensor.py b/homeassistant/components/simplisafe/binary_sensor.py index 6b26eb7854b..d31dc5da282 100644 --- a/homeassistant/components/simplisafe/binary_sensor.py +++ b/homeassistant/components/simplisafe/binary_sensor.py @@ -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, } diff --git a/homeassistant/components/simplisafe/manifest.json b/homeassistant/components/simplisafe/manifest.json index 184e1f306e0..d137824b3db 100644 --- a/homeassistant/components/simplisafe/manifest.json +++ b/homeassistant/components/simplisafe/manifest.json @@ -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"] } diff --git a/requirements_all.txt b/requirements_all.txt index f7bc1a1ed6d..f4714dd15fc 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -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 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 6948bf7e56a..1372b835149 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -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