另外电池信息读取成功,秒出
- platform: mqtt
state_topic: "wallpanel/mywallpanel/sensor/battery"
name: "WallPanel Battery Level"
unit_of_measurement: "%"
value_template: '{{ value_json.value }}'
亮度却出不来两种方式都不行,显示未知
#亮度
- platform: mqtt
state_topic: "wallpanel/mywallpanel/sensor/light brightness"
name: "1WallPanel Light Level"
unit_of_measurement: "lx"
value_template: '{{ value_json.value }}'
- platform: mqtt
state_topic: "wallpanel/mywallpanel/sensor/brightness"
name: "2wallpanel brightness"
unit_of_measurement: "lx"
value_template: '{{ value_json.value }}'
|