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

Loading…
Cancel
Save