v1.0.2
This release adds support for attributes as requested by @j-loewen (#8). You can continue to specify entities as before, for example:
entity: sensor.temperatureOr you can use the new format, which allows the attribute of an entity to be referenced. The new format also allows you to override device_class and unit_of_measurement. For example:
entity:
entity: sensor.temperature
attribute: signal_strength
device_class: signal_strength
unit_of_measurement: dBmRead all about it in the docs.
This release fixes an issue with the rendering of labels on a scale if min and max are both less than one (#21). Thanks for the tip-off @erwintenbrink! The correction also means you might see decimals in min / max labels with bottom_element: min_max if your min / max values are non-integer.
Lastly, a console error message (non-impacting) has been fixed (#18). Thanks @Mariusthvdb.
PRs
- Add support for attribute tracking in #24 (@neponn)
- Fixed scale when min and max are less than one in #25 (@neponn)
Full Changelog: v1.0.1...v1.0.2