visonic icon indicating copy to clipboard operation
visonic copied to clipboard

Way to obtain and use zone names

Open ambhargava opened this issue 1 year ago • 1 comments

Hi, I am happily using this integration for my Visonic pro. Thank you for making it and sharing.

One question I had is if it's possible to fetch the zone names from visonic and use that to name the sensors in home assistant?

Also, once I have manually named them in home assistant but looks like that got overwritten on reload.

Thanks Amit

ambhargava avatar Aug 13 '23 01:08 ambhargava

Hi, I've noticed that as well, I'm not sure yet if it's my integration or a change in Home Assistant. While I investigate you can still use the "old way" of doing this by putting this in your configuration.yaml

homeassistant:
  customize:
    # Add an entry for each entity that you want to overwrite.
    binary_sensor.visonic_z01:
      friendly_name: Wibble
    binary_sensor.visonic_z02:
      friendly_name: Wobble

Thanks

EDIT: If you also show the "select" entities in the frontend or you want to rename them then you can like this

homeassistant:
  customize:
    # Add an entry for each entity that you want to overwrite.
    binary_sensor.visonic_z01:
      friendly_name: Wibble
    binary_sensor.visonic_z02:
      friendly_name: Wobble
    select.visonic_z02:
      friendly_name: Wobble

davesmeghead avatar Aug 21 '23 06:08 davesmeghead