From 3df6d26712ddc0625549571d7d1083f5dadeda23 Mon Sep 17 00:00:00 2001 From: Aaron Bach Date: Wed, 13 Apr 2022 12:30:19 -0600 Subject: [PATCH] Fix missing interior battery sensor for Ambient PWS (#69994) --- homeassistant/components/ambient_station/binary_sensor.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/homeassistant/components/ambient_station/binary_sensor.py b/homeassistant/components/ambient_station/binary_sensor.py index f9fcec6aa6a..5fecbce3ded 100644 --- a/homeassistant/components/ambient_station/binary_sensor.py +++ b/homeassistant/components/ambient_station/binary_sensor.py @@ -28,6 +28,7 @@ TYPE_BATT6 = "batt6" TYPE_BATT7 = "batt7" TYPE_BATT8 = "batt8" TYPE_BATT9 = "batt9" +TYPE_BATTIN = "battin" TYPE_BATTOUT = "battout" TYPE_BATT_CO2 = "batt_co2" TYPE_BATT_LIGHTNING = "batt_lightning" @@ -140,6 +141,13 @@ BINARY_SENSOR_DESCRIPTIONS = ( entity_category=EntityCategory.DIAGNOSTIC, on_state=0, ), + AmbientBinarySensorDescription( + key=TYPE_BATTIN, + name="Interior Battery", + device_class=BinarySensorDeviceClass.BATTERY, + entity_category=EntityCategory.DIAGNOSTIC, + on_state=0, + ), AmbientBinarySensorDescription( key=TYPE_BATT10, name="Soil Monitor Battery 10",