SecKatie / ha-wyzeapi

Home Assistant Integration for Wyze devices.
733 stars 112 forks source link

Remove depreciated constants #539

Closed brg468 closed 6 months ago

brg468 commented 7 months ago

Use new enums in place of depreciated constants.

Should correct errors reported here: https://github.com/SecKatie/ha-wyzeapi/issues/537 and https://github.com/SecKatie/ha-wyzeapi/issues/536.

Might be worth making this a beta release. Although it seems like the changes are straightforward, I only have lights so the climate and alarm changes are untested.

Krispkiwi commented 6 months ago

Is there a way to update with these changes yet?

brg468 commented 6 months ago

Is there a way to update with these changes yet?

Download from my branch and replace your wyzeapi folder in custom_components with mine.

JoeSchubert commented 6 months ago

I could merge them, but I honestly don't handle the build process. That would really be a question for @SecKatie

glyndon commented 6 months ago

Is there a way to update with these changes yet?

Download from my branch and replace your wyzeapi folder in custom_components with mine.

Seems to be working fine here (HA: core, latest), but all I have are cams.

brg468 commented 6 months ago

I realized I was getting warnings for climate and alarm, which I don’t have either. So I think everything should be good.