Repository navigation
Don't fail on energy scan with legacy modules - #166
Conversation
|
Thanks! It would be nice to use a more specific exception than |
a44de4f to
1afd02b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #166 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 7 7
Lines 780 784 +4
=========================================
+ Hits 780 784 +4 ☔ View full report in Codecov by Sentry. |
While checking your suggestion, I have noticed that the actual error is slightly different, it's not an unknown command but invalid parameter. |
|
Superseded by #168. The command is supported. This PR is not needed. |
|
Reopen for home-assistant/core#103208 (comment) |
|
Once #169 is merged, I will update this PR to use a more specific exception. |
8c062bc to
0b0abbf
Compare
|
Done, updated and rebased. |
Fixes home-assistant/core#103208
If we receive the
RuntimeErrorexeption onEDcommand, return zero energy scanning results instead of raising the exception.