Would help to know which line is 55. I’m not sure the problem is the space in the state topic since thats not what the error is complaining about. Seems instead like a yaml formatting error. Did you place that dashed paragraph underneath the sensor: block, like so? Could just be an indentation problem. Should look like this:
I’ve added the unit of measurement parameter, without it you won’t get a nice graph showing the temperature trend but instead the number will just be treated as different states of the sensor. Try that and let me know if it works.
Does that topic have a retained message? If not, then the sensor will need to publish data at least once after home assistant subscribes in order for HA to receive the value.
OK can get HA to manually populate the atttribute. Will see if MQTT can publish any data as the other sensors I have are all ‘unknown’ and my switch is assumed to be ‘off’ so no data either.
From the research I’ve been doing a space is valid, but you need to know exactly what the topic is that smartthings is publishing to because /Hallway Sensor/ is not the same as /hallway sensor/
So when the sign publishes that it’s started up (it has to get the time first) I publish all my data to it, this is just a small example I publish lots to it.
The sign subscribes to the topic /cmnd/MQTTSign/PLANT plus a load of others to get my data and display it
OK that’s cool, but if the device is only ‘seen’ in HA (there is no plugin for ST) is there a way to publish that to MQTT and then somehow added into ST?