sampsyo / hass-smartthinq

Home Assistant component for LG SmartThinQ HVAC devices
MIT License
281 stars 98 forks source link

Update climate.py #67

Closed monsieurlatte closed 2 months ago

monsieurlatte commented 4 years ago

Fix for new naming convention in HA, changing line 93 from ClimateDevice to ClimateEntity

sampsyo commented 4 years ago

Awesome; thanks for getting this started! As discussed in #54, let's use the recommendation from the HA folks: https://developers.home-assistant.io/blog/2020/05/14/entity-class-names

That involves a try/except to make this change compatible with old versions too.