mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-22 08:46:30 +00:00
Add description of issue severities (#1886)
* Add description of issue severities * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> --------- Co-authored-by: Franck Nijhof <frenck@frenck.nl> Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
dc86fc0bdf
commit
59be20342a
@ -34,6 +34,16 @@ ir.async_create_issue(
|
||||
| translation_key | str | | Translation key with a brief explanation of the issue
|
||||
| translation_placeholders | dict | `None` | Placeholders which will be injected in the translation
|
||||
|
||||
### Severity of an issue
|
||||
|
||||
To better understand which severity level to choose, see the list below.
|
||||
|
||||
| IssueSeverity | Description |
|
||||
|---------------|--------------------------------------------------------------------|
|
||||
| CRITICAL | Considered reserved, only used for true panic |
|
||||
| ERROR | Something is currently broken and needs immediate attention |
|
||||
| WARNING | Something breaks in the future (e.g., API shutdown) and needs attention |
|
||||
|
||||
## Offering a repair
|
||||
|
||||
Create a new platform file in your integration folder called `repairs.py` and add code according to the pattern below.
|
||||
|
Loading…
x
Reference in New Issue
Block a user