hass-smartthinq icon indicating copy to clipboard operation
hass-smartthinq copied to clipboard

Update climate.py

Open monsieurlatte opened this issue 5 years ago • 1 comments

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

monsieurlatte avatar Jun 25 '20 05:06 monsieurlatte

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.

sampsyo avatar Jun 25 '20 11:06 sampsyo