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

fix issue with select controls #82

Merged
merged 1 commit into from
Nov 3, 2024
Merged

Conversation

dalinicus
Copy link
Owner

The response from AC Infinity API can contain None values for fields that expect an enum integer value, resulting in an invalid enum lookup. Fixes the getters so that they account for a default value if None is encountered.

resolves #81

The response from AC Infinity API can contain None values for fields that expect an enum integer value, resulting in an invalid enum lookup.  Fixes the getters so that they account for a default value if None is encountered.
Copy link

codecov bot commented Nov 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (b259f46) to head (1f47005).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #82   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines         1084      1084           
=========================================
  Hits          1084      1084           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dalinicus dalinicus merged commit a411801 into main Nov 3, 2024
13 checks passed
@dalinicus dalinicus deleted the bugfix/none-select-values branch November 3, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Device does not update if you make change outside of HA
1 participant