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:
Aidan Timson 2024-02-17 15:10:29 +00:00 committed by GitHub
parent 258f8bfed0
commit 4aafe14d4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,10 +23,6 @@ from .entity import SystemBridgeEntity
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