HomeAssistant 一些个性化数据来源

在HomeAssistant中显示Bilibili粉丝数
  - platform: rest
    resource: http://api.bilibili.com/x/relation/stat?vmid={你的B站ID}
    name: bilibili fans
    value_template: '{{ value_json.data.follower }}'
在HomeAssistant中显示树莓派温度
  - platform: command_line
    name: CPU Temperature
    command: "cat /sys/class/thermal/thermal_zone0/temp"
    unit_of_measurement: "°C"
    value_template: '{{ value|int // 1000 }}'
在HomeAssistant中显示树莓派Wi-Fi信号强度
  - platform: command_line
    command: /usr/bin/awk 'NR==3 {print $3 "00"}''' /proc/net/wireless
    name: Wifi strength
    unit_of_measurement: "%"