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 I still have only one device listed in Zwave devices but in switch of HA here it is what I have:
I never had such problem with any of my other Zwave devices 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 !
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.
@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 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:=>
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.
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