NEWBIE HERE - I was using dots instead of underscore

I have been using this naming convention:
Like antonio.office.ceiling.lamp and living.room.ceiling.east
Should I be using underscore instead? I am noticing a pattern that I may need to repair all devices and do it correctly with underscore, so that the light entity is light.antonio_office_ceiling_lamp.
I am using Zigbee2MQTT with Sonof Zigbee.

Also, I have several Sonof power plugs plugged in with router capabilities. But there are certain bulbs that keep going offline, specifically the new bulbs from Sengled. I am finding out that Sengled is an end device. I am looking for other, not cheap but not expensive either, bulbs that include routers. In the meantime, I would like to figure out a way to keep my bulbs online. They go offline about three times a day and the only fix is to turn them off and back on again. I look at the MAP of Zigbee2MQTT and everything is routing correctly. This is only happening to certain bulbs though.

For instance, the HA is in the office. Then there is a kitchen/living room, then bathroom, then bedroom. The items in the bedroom are working FINE, it is the furthest point. There are about five Sonof plugs in there. In the bathroom, I have two plugs. One for a heating iron and another for my razor to turn off after three hours of charging. These lights are always going offline.

Looking for advice. Thanks in advance!

Yes, I believe the dot is reserved to differentiate between domain and entity, so use underscores within the entity name itself,

There should be a dot between the domain and the rest of the entity name; the convention is that any other spaces are filled with undesrcores (light.living_room, switch.desk_lamp). The dot is not optional, nor is the underscore if it is part of the domain name (input_boolean.yard light). You can use something else in the entity name after the dot - just no spaces.

That I will do. I will start renaming everything with underlines. Thanks for your replies. I am slowly migrating my 80 or so devices out of Smartthings to HA, only doing a few rooms at a time. I would like to have everything migrated by the end of this month. I just want to make sure I know exactly what I am doing before doing it all.

About the Sengled bulbs, this is only happening to soft white bulbs. All the colors bulbs are never disconnecting. I use soft white in the bathrooms so I think it is an issue with Sengled soft white.

I am going to look for bulbs with routers built-in to remedy this. If anyone has suggestions. Phillips is expensive, not rich here.


I decided to go with this.
name-of-room_name-of-device
This keeps the alphabetical order in the MQTT list and in the devices lists.