Still add 3 times same ZWave device :(

Hi

Previously posted my problem here but got none answer 3 time same switche instead of one in HA? and now that I need that device to really works I’m back on it ! It’s a Fibaro wall light switch https://www.fibaro.com/en/products/switches-2/
I had completely removed it of my ZWave network already while ago. I added back in my HA system today to find back same issue as in the past. It’s well added in Zwave and I see it only once (which is normal): (device named Salon Plafonnier):


It then shows up as a switch in HA system and variables.
BUT: next time I restart HA (for whatever reason) that device is multiplied by 3 by HA :frowning: I still have only one device listed in Zwave devices but in switch of HA here it is what I have:
Sélection_003
and same in variable list:

I never had such problem with any of my other Zwave devices :frowning: and the problem appears only with that specific switch !! Is it switch defective ? or bug in HA ?? Problem exists since at least two major HA revisions as when I did first tests and discovered prolbem I was still in 0.49 !

Thanks for your ideas/solutions…

Vincèn

Based on the view in the variable list, this device has three functions. Look at the old_entity_id value. I am not familiar with that switch, but I would rename them to eliminate the duplication, and then figure out which one does what you want.

1 Like

@dap35 Thanks for answer and I figured out it has 3 instances but why would it have 3 instances for a single switch ?? The 3 controls the physical switch so not sure how to organise that device in HA so it appears as a simple switch :frowning: Any suggestions ?

I’m not sure why it shows up as three switches… very odd. I suspect it is a “feature” of that particular switch. Rename them, and then see which one actually does what you want, then you can hide the others in the interface.

@dap35 I think I figured out what are the three switches (The relay box from Fibaro accepts 2 switches as command in input plus the switch out and we have three switches so I guess it’s that no ?
How do you hide the useless ones ?
Hum something strange is that if I push the first switch my light goes on but the 3rd switch should go on also to reflect state of relay which is not the case…

There are a couple of ways to do this. You can either add a customize: section to your configuration files and list out items you want hidden something like this:=>

  customize:
    sensor.stairwell_motion_alarm_level_4_10:
      hidden: true
    sensor.stairwell_motion_burglar_4_10:
      hidden: false
    sensor.stairwell_motion_alarm_type_4_00:
      hidden: true
    sensor.stairwell_motion_sourcenodeid_4_2:
      hidden: true

Like your switch, these PIR motion detectors spawn multiple sub-devices.

You can also create new views or tabs on the web i/f via the groups section. I do a bit of both. I left the default view and added tabs for main, entertainment, and configuration.

group: !include groups.yaml

groups.yaml file

###  Groups  ###
#group:
#  default_view:
  Main:
    view: yes
    entities:
      - sun.sun
      - binary_sensor.stairwell_motion_sensor
      - binary_sensor.basement_motion_sensor
      - sensor.ssl_cert_expiry
      - group.outside
      - group.candle_lights
      - group.1st_floor
      - group.2nd_floor
      - group.Mode
      - group.tracked

  Entertainment:
    view: yes
    entities:
    - media_player.roku3
    - media_player.kitchen
    - media_player.living_room
    - media_player.master_bedroom
    - media_player.tv_room

  Configuration:
    view: yes
    entities:
      - group.all_automations

  Mode:
    entities:
    - input_boolean.vacation_mode
    - input_boolean.holiday_mode
  outside:
    entities: 
    - switch.front_step_light_switch
  basement:
    entities:
    - binary_sensor.stairwell_motion_sensor
    - binary_sensor.basement_motion_sensor
  1st_floor:
    entities:
    - switch.great_room_lights_switch
    - switch.outletgr1_switch
    - switch.outletgr2_switch
1 Like

I have exactly the same problem with this switch, it appears 3 times.
@vincen: how did you solve it?

Many devices have sub entities. As the earlier posts suggest, figure out what device does what you need and hide the others.

1 Like

Sorry but I don’t use anymore ZWave system (ridiculous RF range of devices) but as quoted by @zarthan just hide entities you don’t want to see in HA frontend :wink: