Skip to content

Commit

Permalink
Fix translations for binary sensors in System Bridge (home-assistant#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
timmo001 authored Feb 17, 2024
1 parent 258f8bf commit 4aafe14
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions homeassistant/components/system_bridge/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 4aafe14

Please sign in to comment.