-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Wyzeapy to be compatible with Wyze Sensors (old model) #5
Conversation
…te-workflow-1 Create python-publish.yml
See: SecKatie/ha-wyzeapi#126 (comment) Why: In order to fix a crash where headphones were not recognized as a valid device type How: Add headphones to the DeviceTypes enum in base_client.py
Why: To be able to create motion sensors by using the cameras for use in Home Assistant automations How: By using the get_event_list endpoint we can get all the events for a particular device. This allows us to know the last time a motion event was fired for a camera.
See: SecKatie/ha-wyzeapi#135 Thank to [KevinVoell](https://github.com/KevinVoell) for providing direction on how to implement signing code.
This change is being made in accordance with the following user story: As a resident in the house, I want to be able to use a physical switch to turn on and turn off the cameras when I enter or leave the house so that I can easily turn on and turn off camera supervision and feel safe when I am away and private when I am home. Please see: Github pull request SecKatie/ha-wyzeapi#153
The SonarCloud check failing on code I did not touch in this PR. I will not fix this supposed error. |
No worries it was changed in the master, so we will just have to make sure the merge happens correctly. SonarCloud is not the best but it is free haha |
SonarCloud Quality Gate failed.
|
Sample code for turning notifications on/off These variants work
|
Hey @faanskit can you update this to fit the current project? |
Sure, but it will take some time before I can do it. Do not have access to a dev enviroment for a few weeks and have not followed what changes has been made. |
No worries! Whenever you get a chance |
338e402
to
56a3bed
Compare
Updated Wyzeapy to be compatible with Wyze Sensors (old model).
And fixed #4