State_attr is null

Any idea what is up with my template? It all looks good to me


There is a special syntax for entities that start with numbers.

I don’t think it’s that as this one works?


But did you try it?

Not sure the syntax is right?

Ok fixed it, the sensor had died but the value was cached in my browser