Update panasonic_viera to include broadcast_address (#11187)

* Update panasonic_viera to include broadcast_address

Include broadcast_address to allow wake-on-lan for multiple networks.

* ✏️ Tweak
This commit is contained in:
Jordan Speicher 2019-11-17 06:14:10 -06:00 committed by Fabian Affolter
parent ef8b6da06d
commit 7c741080d9

View File

@ -33,7 +33,7 @@ If your model is not on the list then give it a test, if everything works correc
Some Panasonic Viera TVs allow Home Assistant to turn them on, if you specify the MAC address with `mac:`.
Note that your TV has to reside in the same network as your home assistant instance for this platform to work.
Note that your TV has to reside in the same network as your Home Assistant instance for this platform to work. If you have multiple network interfaces on your Home Assistant instance, you may need to specify the `broadcast_address`.
To add a TV to your installation, add the following to your `configuration.yaml` file:
@ -58,6 +58,11 @@ mac:
description: The MAC address of your Panasonic Viera TV, e.g., `AA:BB:CC:DD:99:1A`.
required: false
type: string
broadcast_address:
description: The broadcast address on which to send the Wake-On-Lan packet.
required: false
default: 255.255.255.255
type: string
app_power:
description: Set to `true` if your Panasonic Viera TV supports "Turn on via App".
required: false