Skip to content

Move preload_stream setting to entity settings#12730

Merged
zsarnett merged 2 commits intodevfrom
preload_stream-settings
May 23, 2022
Merged

Move preload_stream setting to entity settings#12730
zsarnett merged 2 commits intodevfrom
preload_stream-settings

Conversation

@bramkragten
Copy link
Copy Markdown
Member

Breaking change

Entities without and unique id will lose this setting

Proposed change

Move preload stream setting from more info dialog to entity settings.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

${this._cameraPrefs
? html`
<ha-settings-row>
<span slot="heading">Preload camera stream</span>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Localize.

Comment on lines +427 to +429
>This keeps the camera stream open in the background so it
shows quicker. Warning! This can slow down your instance
drastically.</span
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For in localize:

Suggested change
>This keeps the camera stream open in the background so it
shows quicker. Warning! This can slow down your instance
drastically.</span
>This keeps the camera stream open in the background so it
shows quicker. Warning! This is CPU/network intensive.</span

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to move from CPU though. Hardware /Network ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree on Hardware

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the comments. You're saying you want it to say "This is hardware intensive"?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CPU is a bit technical in my opinion. Instead of hardware, maybe device?

balloob
balloob previously approved these changes May 20, 2022
@zsarnett zsarnett enabled auto-merge (squash) May 23, 2022 18:19
@zsarnett zsarnett merged commit 7db6e0b into dev May 23, 2022
@delete-merged-branch delete-merged-branch bot deleted the preload_stream-settings branch May 23, 2022 18:31
@github-actions github-actions bot locked and limited conversation to collaborators May 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants