mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 02:56:31 +00:00
Fix support for multiple suggestions
Make sure suggestions get appended to the suggestion list. This allows multiple suggestions for a single issue.
This commit is contained in:
parent
a0735f3585
commit
59230196de
@ -186,8 +186,8 @@ class ResolutionManager(FileConfiguration, CoreSysAttributes):
|
|||||||
"""Add an issue and suggestions."""
|
"""Add an issue and suggestions."""
|
||||||
if suggestions:
|
if suggestions:
|
||||||
for suggestion in suggestions:
|
for suggestion in suggestions:
|
||||||
self.suggestions = Suggestion(
|
self.suggestions.append(
|
||||||
suggestion, issue.context, issue.reference
|
Suggestion(suggestion, issue.context, issue.reference)
|
||||||
)
|
)
|
||||||
|
|
||||||
self.issues = issue
|
self.issues = issue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user