mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
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
This commit is contained in:
@@ -23,10 +23,6 @@ from .entity import SystemBridgeEntity
|
|||||||
class SystemBridgeBinarySensorEntityDescription(BinarySensorEntityDescription):
|
class SystemBridgeBinarySensorEntityDescription(BinarySensorEntityDescription):
|
||||||
"""Class describing System Bridge binary sensor entities."""
|
"""Class describing System Bridge binary sensor entities."""
|
||||||
|
|
||||||
# SystemBridgeBinarySensor does not support UNDEFINED or None,
|
|
||||||
# restrict the type to str.
|
|
||||||
name: str = ""
|
|
||||||
|
|
||||||
value: Callable = round
|
value: Callable = round
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user