mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Small fixes for LG soundbar (#75938)
This commit is contained in:
parent
1e115341af
commit
ee273daf8d
@ -47,7 +47,6 @@ class LGDevice(MediaPlayerEntity):
|
||||
self._port = port
|
||||
self._attr_unique_id = unique_id
|
||||
|
||||
self._name = None
|
||||
self._volume = 0
|
||||
self._volume_min = 0
|
||||
self._volume_max = 0
|
||||
@ -94,8 +93,6 @@ class LGDevice(MediaPlayerEntity):
|
||||
elif response["msg"] == "SPK_LIST_VIEW_INFO":
|
||||
if "i_vol" in data:
|
||||
self._volume = data["i_vol"]
|
||||
if "s_user_name" in data:
|
||||
self._name = data["s_user_name"]
|
||||
if "i_vol_min" in data:
|
||||
self._volume_min = data["i_vol_min"]
|
||||
if "i_vol_max" in data:
|
||||
|
@ -11,8 +11,7 @@
|
||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
|
||||
},
|
||||
"abort": {
|
||||
"existing_instance_updated": "Updated existing configuration.",
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,7 @@
|
||||
{
|
||||
"config": {
|
||||
"abort": {
|
||||
"already_configured": "Service is already configured",
|
||||
"existing_instance_updated": "Updated existing configuration."
|
||||
"already_configured": "Device is already configured"
|
||||
},
|
||||
"error": {
|
||||
"cannot_connect": "Failed to connect"
|
||||
|
Loading…
x
Reference in New Issue
Block a user