From 8a83415edf57604c6db7138286d0733592db4b09 Mon Sep 17 00:00:00 2001 From: tmechen Date: Thu, 22 Jun 2023 21:52:21 +0200 Subject: [PATCH] move mqtt sensor --- configuration.yaml | 17 +++++++++++++++-- sensors/mqtt.yaml | 16 ---------------- 2 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 sensors/mqtt.yaml diff --git a/configuration.yaml b/configuration.yaml index 50994a5..2e7aaaf 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -29,8 +29,21 @@ command_line: command: "cat /sys/class/thermal/thermal_zone0/temp" unit_of_measurement: "°C" value_template: "{{ (value | multiply(0.001)) | round(1) }}" - - sensor: name: Python Version command: "python3 --version" - \ No newline at end of file + +mqtt: + - sensor: + name: ZigBee Bridge state + state_topic: "zigbee2mqtt/bridge/state" + icon: mdi:router-wireless + - sensor: + name: Schaltertest Button Gelb + state_topic: "buttons/binary_sensor/button_yellow/state" + - sensor: + name: Schaltertest Button Rot + state_topic: "buttons/binary_sensor/button_red/state" + - sensor: + name: Schaltertest Button Grün + state_topic: "buttons/binary_sensor/button_green/state" diff --git a/sensors/mqtt.yaml b/sensors/mqtt.yaml deleted file mode 100644 index edc778d..0000000 --- a/sensors/mqtt.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- platform: mqtt - name: ZigBee Bridge state - state_topic: "zigbee2mqtt/bridge/state" - icon: mdi:router-wireless - -- platform: mqtt - name: Schaltertest Button Gelb - state_topic: "buttons/binary_sensor/button_yellow/state" - -- platform: mqtt - name: Schaltertest Button Rot - state_topic: "buttons/binary_sensor/button_red/state" - -- platform: mqtt - name: Schaltertest Button Grün - state_topic: "buttons/binary_sensor/button_green/state"