Sorry it took me so long to respond, no excuse but life.
Yes - it worked and have migrated all my sensors to the correct format. Just be careful if you have many like I do you need to - name for each and indent.
As many here have struggled with the new MQTT format, so have I. Mine is related to it being part of a trigger for detecting the state and other various pieces of information from my Plex server. Hoping someone can help me figure out how to reformat this inside my templates.yaml file.
Is anyoneās HA install still complaining about MQTT switches and sensors even though theyāve moved everything under the mqtt: label?
Iāve moved all mine across and all are working, but I still get the following every time I start HA - and I cannot find anywhere that is still using the old format (Iāve even tried a grep -r 'platform:mqtt' *.yaml in the config directory to be sure.
2022-07-17 20:20:28 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Manually configured MQTT switch(s) found under platform key 'switch', please move to the mqtt integration key, see https://www.home-assistant.io/integrations/switch.mqtt/#new_format
2022-07-17 20:20:32 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Manually configured MQTT sensor(s) found under platform key 'sensor', please move to the mqtt integration key, see https://www.home-assistant.io/integrations/sensor.mqtt/#new_format
Thatās actually what I did in the console (just mistyped it here) and it shows nothing other than a couple of entries in automations.yaml where I use MQTT as a trigger for a couple of automations.
Other than that, thereās nothing, yet HA still complains that there isā¦
Iām expecting to have an entity front_door_bsensor, but no go. No errors when loading configuration. It seems this should work, but no go. I have the latest HA 2022.9.2 installed. I enable mqtt logging. Nothing showing. Any thoughts?
so should be json. Iām expecting some entity to be created even if there is no data, but I donāt even get the entity. I was using the old HA configuration for years and it worked fine. I changed the ānameā and āunique_idā in the new configuration expecting to get an entity for the new name. But no entity with the new name is showing up under the settings->entity page.
OK the next question is WHERE exactly are you adding this configuration? Is it directly in to configuration.yaml or an included file, or a split configuration format? Iām asking because with no errors showing up, it appears that Home Assistant isnāt even loading the addition.