Add service to Velbus (#11892)

* Add service description

* Change velbus to Velbus

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* Add services heading

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
brefra 2020-03-14 02:16:59 +01:00 committed by GitHub
parent 3144430285
commit 3cab6ddfd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,37 @@ port:
type: string type: string
{% endconfiguration %} {% endconfiguration %}
## Services
- `velbus.sync clock`: Synchronize Velbus time to local clock.
- `velbus.set_memo_text`: Show memo text on Velbus display modules.
### Service `velbus.sync_clock`
You can use the service `velbus.sync clock` to synchronize the clock of the Velbus modules to the clock of the machine running Home Assistant. This is the same as the 'sync clock' button at the VelbusLink software.
### Service `velbus.set_memo_text`
You can use the service `velbus.set_memo_text` to provide the memo text to be displayed at Velbus modules like VMBGPO(D) and VMBELO.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ---------------------------------------- |
| `address` | no | The module address in decimal format, which is displayed at the device list at the integration page. |
| `memo_text` | yes | Text to be displayed on module. When no memo text is supplied the memo text will be cleared. |
Example:
```yaml
script:
trash_memo:
alias: Trash memo text
sequence:
- data:
address: 65
memo_text: "It's trash day"
service: velbus.set_memo_text
```
## Example automation ## Example automation
The Velbus integration allows you to link a Velbus button (i.e., a button of a [VMBGPOD](https://www.velbus.eu/products/view/?id=416302&lang=en) module) to a controllable entity of Home Assistant. The Velbus integration allows you to link a Velbus button (i.e., a button of a [VMBGPOD](https://www.velbus.eu/products/view/?id=416302&lang=en) module) to a controllable entity of Home Assistant.