I’m using zwavejs2mqtt (docker container) with the Z-Wave JS integration but I also have the MQTT integration enabled so I’m seeing duplicate devices.
I’ve searched for solutions and many people suggest disabling one of those integration but I’d like to use both if possible since they both provide benefits and other features.
Is this possible? Are there other solutions or recommendations?
Either disable MQTT discovery on the Home Assistant side or use a secondary MQTT broker to publish to (one that isn’t connected to HA), otherwise there’s no options I can think of.
Thanks … It looks like I missed the [MQTT Discovery] checkbox inside Z-Wave JS. I’ve had this enabled so Z-Wave JS was using Home Assistant MQTT Discovery AND the Z-Wave JS integration.
Another quick question…
What naming convention is everybody using for their Z-Wave devices?
I’ve been naming them with something like “Ceiling Fan” and setting the location (in Z-Wave JS). However, Home Assistant assigns the name without the location so it becomes “light.ceiling_fan” instead of “light.living_room-ceiling_fan” (or something more description in the case of multiple ceiling fans, etc)
Put “Living Room Ceiling Fan” as name and you will get fan.living_room_ceiling_fan
Spaces are converted to underscore
You may need to reload integration in HA for it to be changed but I forget how that works. It’s much easier if it is properly named when added to zwave.
No entity id’s (that I’m aware of) are based on areas. if you want them to reflect the area in the entity_id then you need to name them correct in zwavejs or rename them afterward in HA