Browse Source

fix mqtt sensors

master
tmechen 2 years ago
parent
commit
0c653bae67
No known key found for this signature in database
GPG Key ID: A66056317FE39FC4
  1. 20
      configuration.yaml

20
configuration.yaml

@ -24,26 +24,22 @@ automation: !include_dir_merge_list automations
scene: !include_dir_merge_list scenes scene: !include_dir_merge_list scenes
command_line: command_line:
- sensor: sensor:
name: CPU Temperature - name: CPU Temperature
command: "cat /sys/class/thermal/thermal_zone0/temp" command: "cat /sys/class/thermal/thermal_zone0/temp"
unit_of_measurement: "°C" unit_of_measurement: "°C"
value_template: "{{ (value | multiply(0.001)) | round(1) }}" value_template: "{{ (value | multiply(0.001)) | round(1) }}"
- sensor: - name: Python Version
name: Python Version
command: "python3 --version" command: "python3 --version"
mqtt: mqtt:
- sensor: sensor:
name: ZigBee Bridge state - name: ZigBee Bridge state
state_topic: "zigbee2mqtt/bridge/state" state_topic: "zigbee2mqtt/bridge/state"
icon: mdi:router-wireless icon: mdi:router-wireless
- sensor: - name: Schaltertest Button Gelb
name: Schaltertest Button Gelb
state_topic: "buttons/binary_sensor/button_yellow/state" state_topic: "buttons/binary_sensor/button_yellow/state"
- sensor: - name: Schaltertest Button Rot
name: Schaltertest Button Rot
state_topic: "buttons/binary_sensor/button_red/state" state_topic: "buttons/binary_sensor/button_red/state"
- sensor: - name: Schaltertest Button Grün
name: Schaltertest Button Grün
state_topic: "buttons/binary_sensor/button_green/state" state_topic: "buttons/binary_sensor/button_green/state"

Loading…
Cancel
Save