FL550 / dwd_weather

Deutscher Wetterdienst integration for Home-Assistant
MIT License
173 stars 11 forks source link

Fix device_state_attributes warnings in HA 2021.12 #40

Closed Lemocin closed 2 years ago

Lemocin commented 2 years ago

As stated in HA core PR #47304 device_state_attributes is now extra_state_attributes. I renamed the function and tested it. It still works as before and fixes the warnings. Should also close #39

FL550 commented 2 years ago

Thanks for creating this PR 😊