Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Don't raise keyerror during migration, if missing camera key #495

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

prairiesnpr
Copy link
Collaborator

@prairiesnpr prairiesnpr commented Jun 20, 2023

Resolves #494

If user has never configured the camera, the ENABLE_CAMERA key is missing.

@codecov-commenter
Copy link

codecov-commenter commented Jun 20, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (3d8be13) 98.93% compared to head (1d629f6) 98.93%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #495   +/-   ##
=======================================
  Coverage   98.93%   98.93%           
=======================================
  Files          16       16           
  Lines        1315     1315           
=======================================
  Hits         1301     1301           
  Misses         14       14           
Impacted Files Coverage Δ
custom_components/husqvarna_automower/__init__.py 100.00% <100.00%> (ø)
...stom_components/husqvarna_automower/config_flow.py 93.91% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@robinostlund
Copy link
Contributor

Can verify that this solved my issues 👍

@Thomas55555 Thomas55555 merged commit 26c2d04 into Thomas55555:main Jun 20, 2023
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2023.6.1b0 KeyError: 'enable_camera'
4 participants