mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
panasonic_viera: Set device name from discovery info (#11990)
This commit is contained in:
parent
1419005082
commit
2d3034be11
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user