mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +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:
|
if discovery_info:
|
||||||
_LOGGER.debug('%s', discovery_info)
|
_LOGGER.debug('%s', discovery_info)
|
||||||
|
name = discovery_info.get('name')
|
||||||
host = discovery_info.get('host')
|
host = discovery_info.get('host')
|
||||||
port = discovery_info.get('port')
|
port = discovery_info.get('port')
|
||||||
remote = RemoteControl(host, port)
|
remote = RemoteControl(host, port)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user