跳转到内容

LSM6DS 温度传感器

lsm6ds 传感器平台提供对 LSM6DS 加速度计/陀螺仪 (数据手册)中温度传感器的访问。 需要在配置中设置一个使用 lsm6ds 平台的 motion 组件, 该组件处理加速度计和陀螺仪的数据处理并配置设备。有关更多信息,请参见该组件。

# Example configuration entry
motion:
- platform: lsm6ds
sensor:
- platform: lsm6ds
type: temperature # 可选,temperature 是此平台唯一支持的类型
name: "LSM6DS Temperature"
  • type (可选,string): 必须设为 temperature,或省略。
  • 来自 Sensor 的其他所有选项。