From d587fbf3d00f7a67b21a4f9a4f6e018b8bd834f5 Mon Sep 17 00:00:00 2001 From: TechHome Date: Tue, 15 Nov 2022 14:52:24 +0100 Subject: [PATCH] =?UTF-8?q?add=20=C2=B4applications=C2=B4=20option=20to=20?= =?UTF-8?q?example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 7862d5f..b2683b6 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,13 @@ Add a custom element in your `ui-lovelace.yaml` service: switch.turn_on service_data: entity_id: switch.bedroom_tv_power + applications: + netflix: + icon: mdi:netflix + service: androidtv.adb_command + service_data: + command: input keyevent 191 + entity_id: media_player.braviatv_wohnzimmer ``` ### Example 1: @@ -167,31 +174,6 @@ entities: host: 192.168.1.53 packet: >- JgBGAJOWEjcSOBI3EhMTEhITEhMSExI4ETgSOBEUERQRFBEUERQRFBI3EhMSFBETEhMSExMSEjgSExE4EzcRORI3ETkROBIADQUAAA== - remote: input_select.tv_input - reverse: - service: broadlink.send - service_data: - host: 192.168.1.53 - packet: >- - JgBGAJOVETYUOBE5ERQRFBEUERQRFBE4ETkROBITEhMSExITEhMSOBEUETgSExITEhMSOBEUERQROBITEjgROBI4ERQROBMADQUAAA== - right: - service: broadlink.send - service_data: - host: 192.168.1.53 - packet: >- - JgBGAJOVETkROBI4EhMRFBEUERQRFBE4EjgROBITEhMSExITEhMSExI4ERQRFBEUETgSOBEUETgSExI4ETgSOBEUERQROBIADQUAAA== - select: - service: broadlink.send - service_data: - host: 192.168.1.53 - packet: >- - JgBGAJSVETgSOBE4EhMSExITEhMSExI4ETgSOBEUERQSExEUERQRFBEUERQROBITEjgROBMSEjgSNxM3EhMSOBEUERQROBEADQUAAA== - source: - service: broadlink.send - service_data: - host: 192.168.1.53 - packet: >- - JgBGAJKXEDkRORA4EhQSExETEBYRFRA5EDgTOBAVDxcPFRAVEBURNxMTERQRFBITERQRFBEUERQQOhI2EjkQORE5EDkSNxEADQUAAA== ```