From c9d0726b0af72eb161845b209fcb85e703843a34 Mon Sep 17 00:00:00 2001 From: lorenzofattori <25281453+lorenzofattori@users.noreply.github.com> Date: Thu, 28 Jun 2018 22:25:30 +0200 Subject: [PATCH] Added Example with turn_on_action: (#5616) * Added Example with turn_on_action: It took me 2 hours to make it work. It deserves an example * now with correct identation --- source/_components/media_player.philips_js.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/_components/media_player.philips_js.markdown b/source/_components/media_player.philips_js.markdown index 3b9cac6a98a..78f87af83a6 100644 --- a/source/_components/media_player.philips_js.markdown +++ b/source/_components/media_player.philips_js.markdown @@ -35,3 +35,15 @@ Configuration variables:
When using api_version: 5 changing sources switches tv channels. Additionally this allows setting the volume level.
+ + +```yaml +# Example configuration.yaml with turn_on_action +media_player: + - platform: philips_js + host: 192.168.1.99 + turn_on_action: + service: wake_on_lan.send_magic_packet + data: + mac: aa:bb:cc:dd:ee:ff +```