fwestenberg / reolink

Python Reolink package
MIT License
86 stars 24 forks source link

Added support for email switch for newer firmware versions ([Get|Set]… #94

Open pedro042 opened 2 years ago

pedro042 commented 2 years ago

Fix issues: https://github.com/fwestenberg/reolink/issues/93 https://github.com/fwestenberg/reolink_dev/issues/464 https://github.com/fwestenberg/reolink_dev/issues/560

pedro042 commented 2 years ago

I run out of ideascan someone help me? It works (for me) and it doesn't break abything (I hope). But, I have to initialize the definition on line 135 as self._api_version_getemail: int = 1 if = 0, it doesn;t work - it doesn't try commens GetEmailV20 and I think it should work. I'd hate to break anything in this integration. Thanks.