按要求 我这样改的还是不行,有帮忙指点的吗
mqtt:
sensor:
- state_topic: "home/bedroom/temperature"
# Loads default set of integrations. Do not remove.
default_config:
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
mqtt:
sensor:
- platform: mqtt
name: pve_cpu_temp
icon: 'mdi:thermometer'
state_topic: 'pve/temp'
device_class: temperature
unit_of_measurement: "°C"
expire_after: "60"
- platform: mqtt
name: pve_ssd_temp
icon: 'mdi:thermometer'
state_topic: 'pve/ssdtemp'
device_class: temperature
unit_of_measurement: "°C"
expire_after: "60"
|