找回密码
 立即注册

微信扫码登录

搜索
查看: 1280|回复: 1

[求助] OS升级了内核,提示MQTT错误

[复制链接]

26

主题

304

回帖

2342

积分

金牌会员

积分
2342
金钱
2012
HASS币
0
发表于 2023-4-22 17:51:56 | 显示全部楼层 |阅读模式
按要求  我这样改的还是不行,有帮忙指点的吗

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"


回复

使用道具 举报

25

主题

590

回帖

3823

积分

论坛元老

积分
3823
金钱
3208
HASS币
30
发表于 2023-4-22 19:00:08 | 显示全部楼层
platform: mqtt
这行不要
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-8-22 04:11 , Processed in 0.101244 second(s), 5 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表