v0.0.8
This is a "bugfix" release
Breaking changes
None
Bugfix
- Do not assign device class to text based entities that shouldn't have a device class.
This resolves issues #22, #25, #32, #42, #43.
These issues were caused by the conditional statement for device class checking empty entity unit types to the unit type "voltage"
This string to string comparison always returned true with an empty string since the check was setup to see if "" was contained in "voltage".
Instead of checking whether "" fully matched "voltage".
By fixing this check the text based entities with no unit type should now no longer be assigned "voltage" as device class.
New features
None
Full Changelog: https://github.com/sfstar/hass-victron/compare/v0.0.5..v0.0.6