跳转到内容

Sendspin 文本传感器

sendspin 文本传感器平台暴露当前播放的 音频的元数据,来自 Sendspin 组。Sendspin 中心 必须在同一设备上配置。

每个文本传感器报告单个元数据字段。为你想要暴露的每个 字段配置一个文本传感器。

此平台仅在基于 ESP32 的芯片上工作。

# 示例配置条目
sendspin:
text_sensor:
- platform: sendspin
name: "Title"
type: title
- platform: sendspin
name: "Artist"
type: artist
- platform: sendspin
name: "Album"
type: album
- platform: sendspin
name: "Album Artist"
type: album_artist
  • type(必选,string):要报告的元数据字段。可选:
    • title:当前播放曲目的标题。
    • artist:曲目的艺术家。
    • album:曲目所属专辑。
    • album_artist:专辑的艺术家。
  • 来自 Text Sensor 的所有其他选项。