From 75765bc188def8fd92666d4618e7e74765dc23d6 Mon Sep 17 00:00:00 2001 From: 3D <3d@n3rd3d.com> Date: Sat, 7 Jan 2023 02:59:14 +0100 Subject: [PATCH] adding comments for plugs --- intern/docker_esphome/templates/config/esphome_display02.yaml | 1 - intern/docker_esphome/templates/config/esphome_plug01.yaml | 4 +++- intern/docker_esphome/templates/config/esphome_plug02.yaml | 4 +++- intern/docker_esphome/templates/config/esphome_plug03.yaml | 4 +++- intern/docker_esphome/templates/config/esphome_plug04.yaml | 4 +++- intern/docker_esphome/templates/config/esphome_plug05.yaml | 4 +++- intern/docker_esphome/templates/config/esphome_plug06.yaml | 4 +++- intern/docker_esphome/templates/config/esphome_plug07.yaml | 4 +++- intern/docker_esphome/templates/config/esphome_plug08.yaml | 4 +++- 9 files changed, 24 insertions(+), 9 deletions(-) diff --git a/intern/docker_esphome/templates/config/esphome_display02.yaml b/intern/docker_esphome/templates/config/esphome_display02.yaml index f9d76f0d..e2e9b62b 100644 --- a/intern/docker_esphome/templates/config/esphome_display02.yaml +++ b/intern/docker_esphome/templates/config/esphome_display02.yaml @@ -17,7 +17,6 @@ external_components: refresh: 0s {% include "/includes/common.inc.yaml" %} - on_message: - topic: ESPHome/{{ devicename }}/state/command payload: "ON" diff --git a/intern/docker_esphome/templates/config/esphome_plug01.yaml b/intern/docker_esphome/templates/config/esphome_plug01.yaml index b2f06f8e..a3ec409d 100644 --- a/intern/docker_esphome/templates/config/esphome_plug01.yaml +++ b/intern/docker_esphome/templates/config/esphome_plug01.yaml @@ -2,8 +2,10 @@ {% include "/includes/ansible.inc.yaml" %} {% include "/includes/board.esp01_1m.inc.yaml" %} + + comment: Starroof Lounge {% include "/includes/common.inc.yaml" %} -# force newline + on_message: - topic: ESPHome/{{ devicename }}/state/command payload: "ON" diff --git a/intern/docker_esphome/templates/config/esphome_plug02.yaml b/intern/docker_esphome/templates/config/esphome_plug02.yaml index 2684a64f..0bad6f3d 100644 --- a/intern/docker_esphome/templates/config/esphome_plug02.yaml +++ b/intern/docker_esphome/templates/config/esphome_plug02.yaml @@ -2,8 +2,10 @@ {% include "/includes/ansible.inc.yaml" %} {% include "/includes/board.esp01_1m.inc.yaml" %} + + comment: LED Theke {% include "/includes/common.inc.yaml" %} -# force newline + on_message: - topic: ESPHome/{{ devicename }}/state/command payload: "ON" diff --git a/intern/docker_esphome/templates/config/esphome_plug03.yaml b/intern/docker_esphome/templates/config/esphome_plug03.yaml index 89c95ce9..0048c0c3 100644 --- a/intern/docker_esphome/templates/config/esphome_plug03.yaml +++ b/intern/docker_esphome/templates/config/esphome_plug03.yaml @@ -2,8 +2,10 @@ {% include "/includes/ansible.inc.yaml" %} {% include "/includes/board.esp01_1m.inc.yaml" %} + + comment: Fernseher Lounge {% include "/includes/common.inc.yaml" %} -# force newline + on_message: - topic: ESPHome/{{ devicename }}/state/command payload: "ON" diff --git a/intern/docker_esphome/templates/config/esphome_plug04.yaml b/intern/docker_esphome/templates/config/esphome_plug04.yaml index c31210bd..e1471832 100644 --- a/intern/docker_esphome/templates/config/esphome_plug04.yaml +++ b/intern/docker_esphome/templates/config/esphome_plug04.yaml @@ -2,8 +2,10 @@ {% include "/includes/ansible.inc.yaml" %} {% include "/includes/board.esp01_1m.inc.yaml" %} + + comment: Halogen Lounge {% include "/includes/common.inc.yaml" %} -# force newline + on_message: - topic: ESPHome/{{ devicename }}/state/command payload: "ON" diff --git a/intern/docker_esphome/templates/config/esphome_plug05.yaml b/intern/docker_esphome/templates/config/esphome_plug05.yaml index b6cd4792..b32bad33 100644 --- a/intern/docker_esphome/templates/config/esphome_plug05.yaml +++ b/intern/docker_esphome/templates/config/esphome_plug05.yaml @@ -2,8 +2,10 @@ {% include "/includes/ansible.inc.yaml" %} {% include "/includes/board.esp01_1m.inc.yaml" %} + + comment: Propaganda Bildschirm {% include "/includes/common.inc.yaml" %} -# force newline + on_message: - topic: ESPHome/{{ devicename }}/state/command payload: "ON" diff --git a/intern/docker_esphome/templates/config/esphome_plug06.yaml b/intern/docker_esphome/templates/config/esphome_plug06.yaml index 95e2dafa..c6cb37bf 100644 --- a/intern/docker_esphome/templates/config/esphome_plug06.yaml +++ b/intern/docker_esphome/templates/config/esphome_plug06.yaml @@ -2,8 +2,10 @@ {% include "/includes/ansible.inc.yaml" %} {% include "/includes/board.esp01_1m.inc.yaml" %} + + comment: Pixelflut Server Rack {% include "/includes/common.inc.yaml" %} -# force newline + on_message: - topic: ESPHome/{{ devicename }}/state/command payload: "ON" diff --git a/intern/docker_esphome/templates/config/esphome_plug07.yaml b/intern/docker_esphome/templates/config/esphome_plug07.yaml index 7ad6bbc2..6155b29f 100644 --- a/intern/docker_esphome/templates/config/esphome_plug07.yaml +++ b/intern/docker_esphome/templates/config/esphome_plug07.yaml @@ -2,8 +2,10 @@ {% include "/includes/ansible.inc.yaml" %} {% include "/includes/board.esp01_1m.inc.yaml" %} + + comment: Bullhorn Kuhhorn Muuuuh! {% include "/includes/common.inc.yaml" %} -# force newline + on_message: - topic: ESPHome/{{ devicename }}/state/command payload: "ON" diff --git a/intern/docker_esphome/templates/config/esphome_plug08.yaml b/intern/docker_esphome/templates/config/esphome_plug08.yaml index 42433735..de646e6b 100644 --- a/intern/docker_esphome/templates/config/esphome_plug08.yaml +++ b/intern/docker_esphome/templates/config/esphome_plug08.yaml @@ -2,8 +2,10 @@ {% include "/includes/ansible.inc.yaml" %} {% include "/includes/board.esp01_1m.inc.yaml" %} + + comment: 3D Drucker Prusanet {% include "/includes/common.inc.yaml" %} -# force newline + on_message: - topic: ESPHome/{{ devicename }}/state/command payload: "ON" -- GitLab