mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00: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:
parent
258f8bfed0
commit
4aafe14d4c
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user