跳转到内容

HYT271 温湿度传感器

通过 ESPHome 使用 HYT271 温湿度传感器。 需要在配置中设置 I²C 总线 才能使此传感器正常工作。

示例传感器:

# 示例配置条目
sensor:
- platform: hyt271
temperature:
name: "Temperature"
humidity:
name: "Humidity"
  • temperature (可选):温度传感器的信息。

    • 所有选项来自 Sensor
  • humidity (可选):湿度传感器的信息。

    • 所有选项来自 Sensor
  • update_interval (可选, 时间):检查传感器的时间间隔。默认为 60s