From 4aafe14d4cc05c49125e589700cf2351a4538ee3 Mon Sep 17 00:00:00 2001 From: Aidan Timson Date: Sat, 17 Feb 2024 15:10:29 +0000 Subject: [PATCH] Fix translations for binary sensors in System Bridge (#110095) * Add translation keys for binary sensor names * Update version_available string in system_bridge component * Remove unused code in SystemBridgeBinarySensor class * Restrict SystemBridgeBinarySensorEntityDescription name type to str * Refactor binary sensor entity descriptions and remove unused translation keys --- homeassistant/components/system_bridge/binary_sensor.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/homeassistant/components/system_bridge/binary_sensor.py b/homeassistant/components/system_bridge/binary_sensor.py index 1d36c673eb634c..7c2607e3506509 100644 --- a/homeassistant/components/system_bridge/binary_sensor.py +++ b/homeassistant/components/system_bridge/binary_sensor.py @@ -23,10 +23,6 @@ class SystemBridgeBinarySensorEntityDescription(BinarySensorEntityDescription): """Class describing System Bridge binary sensor entities.""" - # SystemBridgeBinarySensor does not support UNDEFINED or None, - # restrict the type to str. - name: str = "" - value: Callable = round