Browse Source

move mqtt sensor

master
tmechen 2 years ago
parent
commit
8a83415edf
No known key found for this signature in database
GPG Key ID: A66056317FE39FC4
  1. 17
      configuration.yaml
  2. 16
      sensors/mqtt.yaml

17
configuration.yaml

@ -29,8 +29,21 @@ command_line: @@ -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"
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"

16
sensors/mqtt.yaml

@ -1,16 +0,0 @@ @@ -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"
Loading…
Cancel
Save