mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Remove redundant state translation key from Home Assistant Supervisor (#185314)
This commit is contained in:
@@ -39,8 +39,6 @@ ADDON_ENTITY_DESCRIPTIONS = (
|
||||
device_class=BinarySensorDeviceClass.RUNNING,
|
||||
entity_registry_enabled_default=False,
|
||||
key="state",
|
||||
# pylint: disable-next=home-assistant-redundant-translation-key
|
||||
translation_key="state",
|
||||
value_fn=lambda entity: (
|
||||
entity.coordinator.data.addons[entity.addon_slug].addon.state
|
||||
== AddonState.STARTED
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
"binary_sensor": {
|
||||
"mount": {
|
||||
"name": "Connected"
|
||||
},
|
||||
"state": {
|
||||
"name": "Running"
|
||||
}
|
||||
},
|
||||
"sensor": {
|
||||
|
||||
Reference in New Issue
Block a user