-
Notifications
You must be signed in to change notification settings - Fork 125
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
Set camera to unavailable when camera fps == 0 #526
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #526 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 15 15
Lines 1941 1952 +11
=========================================
+ Hits 1941 1952 +11
|
Closes #406 |
Looks good:
|
Yeah I was mainly just wanting to fit the existing structure since I wasn't sure if there were other reasons for it. That should be fine though 👍 |
58725de
to
98b4950
Compare
@dermotduffy it makes no sense why this doesn't work, it works in HASS when I test with my cameras the only thing I can say is that there seems to be a slight delay from when it goes available//unavailable that is longer than the sync_interval |
@dermotduffy Do you have any suggestions? It works as expected in HA, wondering if the unavailable check doesn't work in the tests for some reason |
@NickM-27 It was a combination of a test issue that you'll kick yourself over (not passing the test client), and a nasty (and real) multiple inheritance bug that maybe you should kick me over ;-) |
Ah that'll do it, thank you! |
Thanks @NickM-27 ! |
No description provided.