Skip to content

Commit

Permalink
Move forecast_summary from state to state_attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
aes-alienrip authored Oct 9, 2023
1 parent dafa544 commit 5340b13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dist/sensor/en/rest_en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ rest:
scan_interval: 1800
sensor:
- name: hko_forecast_summary
value_template: '{{ value_json.forecastDesc }}'
value_template: ""
json_attributes:
- forecastDesc

- resource: https://data.weather.gov.hk/weatherAPI/opendata/weather.php?dataType=fnd&lang=en
scan_interval: 1800
Expand Down

0 comments on commit 5340b13

Please sign in to comment.