From e97cc9b9cc5dc8f67c1fc9247f80f9780e66d383 Mon Sep 17 00:00:00 2001 From: chpego <38792705+chpego@users.noreply.github.com> Date: Thu, 9 May 2024 19:56:12 +0200 Subject: [PATCH 1/5] Update usage.md according to the [docs](https://www.home-assistant.io/integrations/wake_on_lan/) --- docs/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage.md b/docs/usage.md index 5d262bf..dbd04bb 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -38,7 +38,7 @@ Example configuration of a shutdown command in Home Assistant, used in combinati ```yaml - platform: wake_on_lan name: "TEST_W10_x64_01" - mac: "00-00-00-00-00-00" + mac: "00:00:00:00:00:00" host: 10.0.0.5 broadcast_address: 10.0.0.255 turn_off: From b173333cf9ac30c76153f1d0067d2e720002b523 Mon Sep 17 00:00:00 2001 From: chpego <38792705+chpego@users.noreply.github.com> Date: Thu, 9 May 2024 19:57:59 +0200 Subject: [PATCH 2/5] Update examples.md according to the [docs](https://www.home-assistant.io/integrations/wake_on_lan/#mac) --- docs/examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples.md b/docs/examples.md index 4e0547a..022330c 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -74,7 +74,7 @@ tts_test: ```yaml - platform: wake_on_lan name: "your_pc_name" - mac: "00-00-00-00-00-00" + mac: "00:01:02:03:04:05" host: 10.0.0.5 broadcast_address: 10.0.0.255 turn_off: From 308463763733ec82bab83e7f30a88ffc46715866 Mon Sep 17 00:00:00 2001 From: chpego <38792705+chpego@users.noreply.github.com> Date: Thu, 9 May 2024 19:58:55 +0200 Subject: [PATCH 3/5] Update usage.md --- docs/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage.md b/docs/usage.md index dbd04bb..0e58010 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -38,7 +38,7 @@ Example configuration of a shutdown command in Home Assistant, used in combinati ```yaml - platform: wake_on_lan name: "TEST_W10_x64_01" - mac: "00:00:00:00:00:00" + mac: "00:01:02:03:04:05" host: 10.0.0.5 broadcast_address: 10.0.0.255 turn_off: From b2bbbf49460262d6e3c92cbb00f4915e6c22341b Mon Sep 17 00:00:00 2001 From: chpego <38792705+chpego@users.noreply.github.com> Date: Thu, 9 May 2024 20:01:33 +0200 Subject: [PATCH 4/5] Update usage.md using service press button according to entity available in MQTT --- docs/usage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 0e58010..faab885 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -42,9 +42,9 @@ Example configuration of a shutdown command in Home Assistant, used in combinati host: 10.0.0.5 broadcast_address: 10.0.0.255 turn_off: - service: switch.turn_on + service: button.press data: - entity_id: switch.test_w10_x64_01_cmd_shutdown + entity_id: button.test_w10_x64_01_cmd_shutdown ``` From 94cb49959e964ff324d65fb9fa7c6161f1c5b009 Mon Sep 17 00:00:00 2001 From: chpego <38792705+chpego@users.noreply.github.com> Date: Thu, 9 May 2024 20:03:19 +0200 Subject: [PATCH 5/5] Update examples.md using service button press instead of switch service --- docs/examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples.md b/docs/examples.md index 022330c..a960a4a 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -78,9 +78,9 @@ tts_test: host: 10.0.0.5 broadcast_address: 10.0.0.255 turn_off: - service: switch.turn_on + service: button.press data: - entity_id: switch.your_pc_hass_agent_shutdown_switch + entity_id: button.your_pc_hass_agent_shutdown ``` Alternative version: use a `Hibernate Command` to put your PC in hibernation instead.