c0ffeeca7 a4a68172c0
u-z integrations: apply sentence-style caps to categories (#29907)
* u-z integrations: apply sentence-style caps to categories

* Apply suggestions from code review

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

* Add references to glossary terms

* Update source/_integrations/universal.markdown

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

* Update source/_integrations/universal.markdown

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

* linter: change vizio to VIZIO

- as per product website https://www.vizio.com/en/smartcast

* remove term refs from YAML

* VIZIO: change spelling according to website

- https://www.vizio.com/en/t

* Update source/_integrations/vizio.markdown

* Update source/_integrations/universal.markdown

* Apply suggestions from code review

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

* Update source/_integrations/unifiprotect.markdown

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Fix some more to sentence-style caps

* Update source/_integrations/unifiprotect.markdown

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update source/_integrations/unifiprotect.markdown

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update source/_integrations/unifiprotect.markdown

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-19 14:43:27 +01:00

6.1 KiB

title, description, ha_category, ha_iot_class, ha_release, ha_config_flow, ha_codeowners, ha_domain, ha_platforms, ha_integration_type
title description ha_category ha_iot_class ha_release ha_config_flow ha_codeowners ha_domain ha_platforms ha_integration_type
Velbus Access and control your Velbus devices.
Binary sensor
Button
Climate
Hub
Light
Sensor
Switch
Local Push 0.50 true
@Cereal2nd
@brefra
velbus
binary_sensor
button
climate
cover
diagnostics
light
select
sensor
switch
hub

The Velbus {% term integration %} is used to control Velbus modules. It supports the Velbus USB, Velbus serial and a TCP/IP gateway.

The pushbutton LEDs of input modules are disabled by default. These can be enabled from the Devices panel in the Configuration page of the web interface.

{% include integrations/config_flow.md %}

The port string used in the user interface or the configuration file can have 2 formats:

  • For a serial device: /dev/ttyUSB00
  • For a TCP/IP device: 127.0.0.1:3678
  • For the VMBSIG module: tls://192.168.1.9:27015

Services

  • velbus.sync clock: Synchronize Velbus time to local clock.
  • velbus.scan: Scan the bus for new devices.
  • velbus.set_memo_text: Show memo text on Velbus display modules.
  • velbus.clear_cache: Clear the full velbuscache or the cache for one module only.

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 data attribute Optional Description
interface no The port used to connect to the bus (the same one as used during configuration).

Service velbus.scan

You can use the service velbus.scan to synchronize the modules between the bus and Home Assistant. This is the same as the 'scan' button at the VelbusLink software.

Service data attribute Optional Description
interface no The port used to connect to the bus (the same one as used during configuration).

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
interface no The port used to connect to the bus (the same one as used during configuration).
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:

script:
  trash_memo:
    alias: "Trash memo text"
    sequence:
    - data:
        address: 65
        memo_text: "It's trash day"
        interface: "tls://192.168.1.9:27015"
      service: velbus.set_memo_text

Service velbus.clear_cache

You can use the service velbus.clear_cache to clear the cache of one module or the full cache. Once the clear happens, the integration will start a new scan. Use this service when you make changes to your configuration via velbuslink.

Service data attribute Optional Description
interface no The port used to connect to the bus (the same one used during configuration).
address no The module address in decimal format, which is displayed on the device list on the integration page, if provided the service will only clear the cache for this model, without an address, the full velbuscache will be cleared.

VMB7IN and the Energy dashboard

In some cases, the VMB7IN sensor does not report what the counter is counting. If the counter is related to an energy device, everything will work out of the box. But if the VMB7IN sensor is a water or gas counter, you will need to specify this in your configuration.yaml file.

homeassistant:
  customize:
    sensor.eau_counter:
      device_class: water

The device_class attribute can have 2 values:

  • gas: if the counter represents a gas meter
  • water: if the counter represents a water meter

Example automation

The Velbus {% term integration %} allows you to link a Velbus button (i.e., a button of a VMBGPOD module) to a controllable {% term entity %} of Home Assistant. The actual linking can be realized by two automation rules. One rule to control the device using the push button and a second rule to update the LED state of the push button as soon as the {% term entity %} state changes.

# Control light living from Velbus push_button_10
- id: 'Control_light_living_from_Velbus'
  alias: "Control light living using Velbus push_button_10"
  trigger:
  - entity_id: binary_sensor.push_button_10
    platform: state
    to: "on"
  condition: []
  action:
  - entity_id: light.living
    service: light.toggle

# Keep status LED push_button_10 in sync to status light living
- id: 'Update LED of push_button_10'
  alias: "Update LED state of push_button_10"
  trigger:
  - entity_id: light.living
    platform: state
    to: "on"
  - entity_id: light.living
    platform: state
    to: "off"
  condition: []
  action:
  - condition: or
    conditions:
    - condition: and
      conditions:
      - condition: state
        entity_id: light.led_push_button_10
        state: "on"
      - condition: state
        entity_id: light.living
        state: "off"
    - condition: and
      conditions:
      - condition: state
        entity_id: light.led_push_button_10
        state: "off"
      - condition: state
        entity_id: light.living
        state: "on"
  - entity_id: light.led_push_button_10
    service: light.toggle