- 积分
- 152
- 金钱
- 107
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
注册会员
- 积分
- 152
- 金钱
- 107
- HASS币
- 0
|
发表于 2020-1-14 15:05:13
|
显示全部楼层
- platform: aircat
mac: ['B0F8931EA148'] ##, 'B0F893249132']
- platform: template
sensors:
purifier_temperature:
device_class: temperature
value_template: '{{ state_attr("fan.purifier", "temperature") }}'
unit_of_measurement: °C
purifier_humidity:
device_class: humidity
value_template: '{{ state_attr("fan.purifier", "humidity") }}'
unit_of_measurement: '%'
purifier_pm25:
value_template: '{{ state_attr("fan.purifier", "aqi") }}'
unit_of_measurement: μg/m³
这一段全是M1的还是只有前两行 |
|