mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 11:16:54 +00:00
Update syslog notify component configuration (#7525)
This commit is contained in:
parent
80aa62fac9
commit
2cee806142
@ -12,7 +12,6 @@ ha_category: Notifications
|
|||||||
ha_release: pre 0.7
|
ha_release: pre 0.7
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
The `syslog` platform allows you to deliver notifications from Home Assistant to the local syslog.
|
The `syslog` platform allows you to deliver notifications from Home Assistant to the local syslog.
|
||||||
|
|
||||||
To enable syslog notifications in your installation, add the following to your `configuration.yaml` file:
|
To enable syslog notifications in your installation, add the following to your `configuration.yaml` file:
|
||||||
@ -24,12 +23,28 @@ notify:
|
|||||||
platform: syslog
|
platform: syslog
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
name:
|
||||||
- **name** (*Optional*): Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`.
|
description: Setting the optional parameter `name` allows multiple notifiers to be created. The notifier will bind to the service `notify.NOTIFIER_NAME`.
|
||||||
- **facility** (*Optional*): Facility according to RFC 3164 (http://tools.ietf.org/html/rfc3164). Default is 'syslog' if no value is given. Check the table below for entries.
|
required: false
|
||||||
- **option** (*Optional*): Log option. Default is 'pid' if no value is given. Check the table below for entries.
|
default: notify
|
||||||
- **priority** (*Optional*): Priority of the messages. Default is 'info' if no value is given. Check the table below for entries.
|
type: string
|
||||||
|
facility:
|
||||||
|
description: Facility according to RFC 3164 (http://tools.ietf.org/html/rfc3164). Check the table below for entries.
|
||||||
|
required: false
|
||||||
|
default: syslog
|
||||||
|
type: string
|
||||||
|
option:
|
||||||
|
description: Log option. Check the table below for entries.
|
||||||
|
required: false
|
||||||
|
default: pid
|
||||||
|
type: string
|
||||||
|
priority:
|
||||||
|
description: Priority of the messages. Check the table below for entries.
|
||||||
|
required: false
|
||||||
|
default: info
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
The table contains values to use in your `configuration.yaml` file.
|
The table contains values to use in your `configuration.yaml` file.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user