I’ve added template sensors for a whole bunch of Fibaro door/motion/flood/smoke sensors so that I can monitor the battery level, but trying to use the same syntax for the battery level of an Aeotec Multisensor 6 gives me a configuration error.
Just an idea: it looks as if HA is tripping over the sensor name - maybe confused by the fact that its name starts with a number followed by underscore. You could try renaming the sensor to at least start with a letter to see if the same issue still occurs.
If your template uses an entity_id that begins with a number (example: states.device_tracker.2008_gmc) you must use a bracket syntax to avoid errors caused by rendering the entity_id improperly. In the example given, the correct syntax for the device tracker would be: states.device_tracker['2008_gmc']
Ah, that is excellent! I had not seen that, thanks a lot!
Will have a go with the brackets, renaming it would have been much more time consuming as it is included in various things and also brought into HA via Vera.
I know you don’t want to rename it, but you will have other problems down the road because of this. Never start the name of an object with a number. Pretty much every code language has this restriction.
Thanks for your help. I have just opened a support ticket with Vera because I believe the root cause is my VeraPlus not correctly reporting % of battery for my MultiSensor 6 and Recessed Door Switch devices.