Skip to content
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

Tweak camera control active state: true if not unavailable #2871

Merged

Conversation

jpelgrom
Copy link
Member

@jpelgrom jpelgrom commented Sep 9, 2022

Summary

Resolves #2870 by seting the thumbnail template for the camera control to active as long as the camera isn't unavailable and the app was able to download an image. This change aims to show the camera image more often and better match the frontend.

Screenshots

It depends on the device how controls are shown, this is on the Android 13 emulator.

Note the idle 'camera' that is now visible (showing a weather map). In the current version of the app both of these tiles would look like the unavailable camera in the screenshot.
Android device controls showing two cameras, one is 'Unavailable' with a grey background and another one is 'Inactive' with a weather map image as the background

Link to pull request in Documentation repository

n/a

Any other notes

 - Set the thumbnail template for the camera control to active as long as the camera isn't unavailable and the app was able to download an image, to show the camera image more often and better match the frontend.
@JBassett JBassett merged commit 6a0ffd8 into home-assistant:master Sep 10, 2022
@jpelgrom jpelgrom deleted the camera-active-if-not-unavailable branch September 10, 2022 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android device control only shows camera preview when recording
4 participants