diff --git a/source/_integrations/husqvarna_automower.markdown b/source/_integrations/husqvarna_automower.markdown index 6a1904636b5c..650470917762 100644 --- a/source/_integrations/husqvarna_automower.markdown +++ b/source/_integrations/husqvarna_automower.markdown @@ -6,6 +6,7 @@ ha_category: - Button - Calendar - Device tracker + - Event - Lawn Mower - Number - Select @@ -22,6 +23,7 @@ ha_platforms: - calendar - device_tracker - diagnostics + - event - lawn_mower - number - select @@ -118,6 +120,30 @@ The integration will create a calendar entity for all mowers. The calendar shows The integration will create a device tracker entity to show the position of the mower. +### Event (if available) + +- Shows the last error as event. +- Includes additional context: `severity`, `latitude`, `longitude`, and `date_time`. + +#### Example attributes + +| Attribute | Description | +|---------------|----------------------------------------| +| `event_type` | Error code (for example, `tilt_error`) | +| `severity` | Error severity (for example, `error`, `warning`) | +| `latitude` | Latitude where the error occurred | +| `longitude` | Longitude where the error occurred | +| `date_time` | Timestamp of the error | + +#### Use cases + +- Send a notification when the mower is lifted or stuck. +- Show last error location on a map + +{% note %} +The entity will only be created when a new message is received. If a mower hasn’t reported any errors yet, the entity won't show up. +{% endnote %} + ### Lawn mower The integration will create a lawn mower entity to control the mower. This entity can: