本帖最后由 ciasdmxhxjjpd@c 于 2022-8-1 20:53 编辑
template 里,https://community.home-assistant ... lue-template/129183
- sensor:
- name: "outdoor humidity"
unique_id: outdoor_humidity
state: "{{ state_attr('weather.openweathermap' , 'humidity') }}"
unit_of_measurement: "%"
- sensor:
- name: "wind speed"
unique_id: wind_speed
state: "{{ state_attr('weather.openweathermap' , 'wind_speed') }}"
unit_of_measurement: "m/s"
|