With the updated sensor setup I get a couple of issues. When I uncomment the unit_of_measure, I get an error in HA Studio Code Server stating “Property unit_of_measurement is not allowed.” Also, if I uncomment device_class and/or state_class, the sensor becomes unavailable.
If I create a template sensor using a Helper, the template sensor works fine.
Lots of things wrong with that. Not least of which is that you are including the unit in the state. You cant do that if you want it to be treated as a number (monetary class).
I appreciate the feedback. I’m not sure I understand your statement “…you are including the unit in the state.” Could you explain this in more detail?
Also, thanks for the “Availability” addition and formatting corrections.
NVMD - I see what your referencing…must have been way too late Again, thanks for the help.