From 0389efde56aad8d31937f39fba00bfbf0278d67f Mon Sep 17 00:00:00 2001 From: ilan <31193909+iloveicedgreentea@users.noreply.github.com> Date: Thu, 26 Sep 2024 02:04:25 -0400 Subject: [PATCH] feat: add example doc (#34925) --- source/_integrations/madvr.markdown | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/source/_integrations/madvr.markdown b/source/_integrations/madvr.markdown index 2dc814a763b..8779851362e 100644 --- a/source/_integrations/madvr.markdown +++ b/source/_integrations/madvr.markdown @@ -34,6 +34,26 @@ The command structure uses the same keywords as the [official documentation](htt Using these commands, you can create a digital remote in the UI. +Example: + +```yaml +# Command with parameters +action: remote.send_command +data: + command: KeyPress, SETTINGS +target: + entity_id: remote.madvr_envy +``` + +```yaml +# Single command +action: remote.send_command +data: + command: Restart +target: + entity_id: remote.madvr_envy +``` + ### Single Commands These are commands that can be sent standalone, no parameters.