# Home Assistant

Zdroj: https://docs.evcc.io/cs/notifications/home-assistant

## Parametry

| Název | Popis | Výchozí / příklad | |
| --- | --- | --- | --- |
| uri | Home Assistant URI | http://homeassistant.local:8123 |  |
| notify | Notify service Home Assistant notify service in the form `domain.service` (e.g. `notify.mobile_app_android`). Leave empty to create a persistent notification in the HA UI. | notify.mobile_app_android |  |
| critical | Critical notification Sets ttl=0 and priority=high for immediate delivery even in battery saver mode. | false |  |
| group | Notification group Groups notifications on the device. Same group collapses multiple alerts together. | evcc |  |
| notification_channel | Notification channel Android notification channel (controls sound and importance). E.g. `alarm_stream` for alarm sound. | alarm_stream |  |
| insecure | Accept self-signed certificates |  | pokročilé |

## Příklad konfigurace pro evcc.yaml

```yaml
messaging:
  services:
    - type: template
      template: homeassistant
      uri: http://homeassistant.local:8123 # Home Assistant URI
      notify: notify.mobile_app_android # Notify service, Home Assistant notify service in the form `domain.service` (e.g. `notify.mobile_app_android`). Leave empty to create a persistent notification in the HA UI. (optional)
      critical: false # Critical notification, Sets ttl=0 and priority=high for immediate delivery even in battery saver mode. (optional)
      group: evcc # Notification group, Groups notifications on the device. Same group collapses multiple alerts together. (optional)
      notification_channel: alarm_stream # Notification channel, Android notification channel (controls sound and importance). E.g. `alarm_stream` for alarm sound. (optional)
      insecure: # Accept self-signed certificates, optional
```
