panasonic_viera: Set device name from discovery info (#11990)
This commit is contained in:
1 parent
1419005082
commit
2d3034be11
1 file changed
+1
@@ -51,6 +51,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
|
||||
if discovery_info:
|
||||
_LOGGER.debug('%s', discovery_info)
|
||||
name = discovery_info.get('name')
|
||||
host = discovery_info.get('host')
|
||||
port = discovery_info.get('port')
|
||||
remote = RemoteControl(host, port)
|
||||
|
||||
Reference in new issue
Block a user