H
HASS.Agent•10mo ago
derailius

getting a lot of MQTT errors in HA logs...

eg.
2024-01-25 03:15:29.082 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'icon': 'mdi:window-maximize', 'unique_id': '9437ba0c-a2df-4f1a-9761-76ee4169028b', 'object_id': 'BRYAN-PC_activewindow', 'availability_topic': 'homeassistant/sensor/BRYAN-PC/availability', 'device': {'identifiers': ['hass.agent-BRYAN-PC'], 'manufacturer': 'HASS.Agent Team', 'model': 'Microsoft Windows NT 10.0.22631.0', 'name': 'BRYAN-PC', 'sw_version': '2.0.1', 'connections': []}, 'name': 'BRYAN-PC_activewindow', 'state_topic': 'homeassistant/sensor/BRYAN-PC/BRYAN-PC_activewindow/state', 'force_update': False, 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'payload_available': 'online', 'qos': 0, 'encoding': 'utf-8'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes '_activewindow'
2024-01-25 03:15:29.082 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'icon': 'mdi:window-maximize', 'unique_id': '9437ba0c-a2df-4f1a-9761-76ee4169028b', 'object_id': 'BRYAN-PC_activewindow', 'availability_topic': 'homeassistant/sensor/BRYAN-PC/availability', 'device': {'identifiers': ['hass.agent-BRYAN-PC'], 'manufacturer': 'HASS.Agent Team', 'model': 'Microsoft Windows NT 10.0.22631.0', 'name': 'BRYAN-PC', 'sw_version': '2.0.1', 'connections': []}, 'name': 'BRYAN-PC_activewindow', 'state_topic': 'homeassistant/sensor/BRYAN-PC/BRYAN-PC_activewindow/state', 'force_update': False, 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'payload_available': 'online', 'qos': 0, 'encoding': 'utf-8'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes '_activewindow'
this is just one of many. literally every sensor or command has this same error message attached to it in the logs. I was able to find a post on the community site that references this. Hopefully this information posted helps, thanks for keeping this going! https://community.home-assistant.io/t/psa-mqtt-name-changes-in-2023-8/598099
Home Assistant Community
PSA: MQTT Name changes in 2023.8
Everyone, there will be MQTT name changes in the next release of the software. There is nothing to worry about, your names are safe. However the change caused addons like Z2M (and other MQTT integrations) to update their discovery information. As it stands, Z2M will not be able to release a version with this fix until September 2023. During ...
No description
Solution:
Cjheck out the server guide for a help page on this. Also available here: #entity-names...
Jump to solution
13 Replies
Solution
DrR0x
DrR0x•10mo ago
Cjheck out the server guide for a help page on this. Also available here: #entity-names
derailius
derailiusOP•10mo ago
my apologies, thanks well that was easy
DrR0x
DrR0x•10mo ago
did it work properly? I just finished making the instructions work between different windows versions but if you have any tech knowledge the TLDR is run compat_names argument with admin right
derailius
derailiusOP•10mo ago
ya, that's what i did. restarting the server now to see if it helped unfortunately the error is still there...odd i did get the progress window pop up when i ran the command, so i know it did "something" lol
DrR0x
DrR0x•10mo ago
check the names of your commands/sensors do they include PCNAME_name you chose?
derailius
derailiusOP•10mo ago
yes
DrR0x
DrR0x•10mo ago
means it didnt work properly then
derailius
derailiusOP•10mo ago
they did before as well, i have always had the compat_names option ticked ah i see
DrR0x
DrR0x•10mo ago
@Amadeo , want some logs or something?
derailius
derailiusOP•10mo ago
ah it worked. ok you're gonna laugh because, i'm an idiot. i needed to run it on the other two machines. LOL
DrR0x
DrR0x•10mo ago
🤣, its all good at least its fixed
derailius
derailiusOP•10mo ago
yes, thanks again
Amadeo
Amadeo•10mo ago
nice, got busy with work, checking notifications, already fixed life should be like this, check it later and see if it's fixed 😄
Want results from more Discord servers?
Add your server