What's Changed
For end users
👉 New features
Added many new sensors and a new data update coordinator that pulls most status entities every 5 seconds (items that don't change a lot remain at 60s).
👉 Bug fixes
Bunch of bug fixes, mainly on issues reported in the discussions.
👉 Documentation / Wiki and Lovelace GUI
Added some more pics to /www. Also some small changes to the lovelace page code in 'Entire dashboard page' (Note: No need to do the whole installation again - just replace the page YAML).
For fellow programmers
👉 __init__.py: Major refactoring
- Now two entity types:
configurationandstatus - Introduced a second coordinator for status entities (updates every 5s)
- Shortened
update_datafunctions by outsourcing major code parts into a separate functioncollect_entity_values - Compacted code for initializing dynamic configuration entities; moved logic out of update functions (previously, the entity list was rebuilt from scratch on every update)
- Preparations for adding more status entities in future releases
👉 api.py: Add items for new status coordinator
- Added several new status items, polled every 5s
- Removed redundant items with identical names or contents that were previously polled every 60s
- Work in progress – more items to be added
- Introduced new virtual
calculatedpath, handled inside__init__.py, e.g.path="calculated:ram_total_size"orpath="calculated:scale_bytes_per_second:data.volume.series[0].write_rate"
👉 utils.py: Added functions, minor changes
- Added two new functions:
scale_bytes_per_secondandextract_value_from_path - Minor changes to existing functions to return properly formatted values
👉 button.py and sensor.py
- Renamed
coordinator→configuration_coordinator - Added
status_coordinatorwhere needed
ToDo
👉 Still more entities to be added, particularly dynamic status items, but also static configuration items. I still have a list of ~170 items that are still not in the code.