Create issues from supervisor events.
Definition at line 183 of file issues.py.
◆ __init__()
| None homeassistant.components.hassio.issues.SupervisorIssues.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
HassIO |
client |
|
) |
| |
Initialize supervisor issues.
Definition at line 186 of file issues.py.
◆ _supervisor_events_to_issues()
| None homeassistant.components.hassio.issues.SupervisorIssues._supervisor_events_to_issues |
( |
|
self, |
|
|
dict[str, Any] |
event |
|
) |
| |
|
private |
Create issues from supervisor events.
Definition at line 374 of file issues.py.
◆ _update()
| None homeassistant.components.hassio.issues.SupervisorIssues._update |
( |
|
self, |
|
|
datetime | None |
_ = None |
|
) |
| |
|
private |
Update issues from Supervisor resolution center.
Definition at line 349 of file issues.py.
◆ add_issue()
| None homeassistant.components.hassio.issues.SupervisorIssues.add_issue |
( |
|
self, |
|
|
Issue |
issue |
|
) |
| |
Add or update an issue in the list. Create or update a repair if necessary.
Definition at line 264 of file issues.py.
◆ add_issue_from_data()
| None homeassistant.components.hassio.issues.SupervisorIssues.add_issue_from_data |
( |
|
self, |
|
|
SupervisorIssue |
data |
|
) |
| |
Add issue from data to list after getting latest suggestions.
Definition at line 295 of file issues.py.
◆ get_issue()
| Issue | None homeassistant.components.hassio.issues.SupervisorIssues.get_issue |
( |
|
self, |
|
|
str |
issue_id |
|
) |
| |
Get issue from key.
Definition at line 337 of file issues.py.
◆ issues()
| set[Issue] homeassistant.components.hassio.issues.SupervisorIssues.issues |
( |
|
self | ) |
|
◆ remove_issue()
| None homeassistant.components.hassio.issues.SupervisorIssues.remove_issue |
( |
|
self, |
|
|
Issue |
issue |
|
) |
| |
Remove an issue from the list. Delete a repair if necessary.
Definition at line 327 of file issues.py.
◆ setup()
| None homeassistant.components.hassio.issues.SupervisorIssues.setup |
( |
|
self | ) |
|
Create supervisor events listener.
Definition at line 341 of file issues.py.
◆ unhealthy_reasons() [1/2]
| set[str] homeassistant.components.hassio.issues.SupervisorIssues.unhealthy_reasons |
( |
|
self | ) |
|
Get unhealthy reasons. Returns empty set if system is healthy.
Definition at line 196 of file issues.py.
◆ unhealthy_reasons() [2/2]
| None homeassistant.components.hassio.issues.SupervisorIssues.unhealthy_reasons |
( |
|
self, |
|
|
set[str] |
reasons |
|
) |
| |
Set unhealthy reasons. Create or delete repairs as necessary.
Definition at line 201 of file issues.py.
◆ unsupported_reasons() [1/2]
| set[str] homeassistant.components.hassio.issues.SupervisorIssues.unsupported_reasons |
( |
|
self | ) |
|
Get unsupported reasons. Returns empty set if system is supported.
Definition at line 228 of file issues.py.
◆ unsupported_reasons() [2/2]
| None homeassistant.components.hassio.issues.SupervisorIssues.unsupported_reasons |
( |
|
self, |
|
|
set[str] |
reasons |
|
) |
| |
Set unsupported reasons. Create or delete repairs as necessary.
Definition at line 233 of file issues.py.
◆ _client
| homeassistant.components.hassio.issues.SupervisorIssues._client |
|
private |
◆ _hass
| homeassistant.components.hassio.issues.SupervisorIssues._hass |
|
private |
◆ _supervisor_client
| homeassistant.components.hassio.issues.SupervisorIssues._supervisor_client |
|
private |
◆ _unhealthy_reasons
| homeassistant.components.hassio.issues.SupervisorIssues._unhealthy_reasons |
|
private |
◆ _unsupported_reasons
| homeassistant.components.hassio.issues.SupervisorIssues._unsupported_reasons |
|
private |
◆ unhealthy_reasons
| homeassistant.components.hassio.issues.SupervisorIssues.unhealthy_reasons |
◆ unsupported_reasons
| homeassistant.components.hassio.issues.SupervisorIssues.unsupported_reasons |
The documentation for this class was generated from the following file:
- core/homeassistant/components/hassio/issues.py