Releases: danieldotnl/ha-measureit
v0.8.2 Fix warning about template in logging
Changes
- Update dependency ruff to v0.7.0 @renovate (#189)
- Update dependency pytest-homeassistant-custom-component to v0.13.174 - autoclosed @renovate (#185)
- Fix hass not set on template @joostlek (#178)
- Update dependency ruff to v0.6.8 @renovate (#187)
- Update dependency pytest-homeassistant-custom-component to v0.13.163 @renovate (#183)
- Update dependency ruff to v0.6.7 @renovate (#184)
- Update dependency ruff to v0.6.5 @renovate (#182)
- Update dependency pytest-homeassistant-custom-component to v0.13.162 @renovate (#181)
- Update dependency ruff to v0.6.4 @renovate (#180)
- Update dependency pytest-homeassistant-custom-component to v0.13.161 @renovate (#177)
- Update dependency pytest-homeassistant-custom-component to v0.13.158 @renovate (#175)
- Update dependency pytest-homeassistant-custom-component to v0.13.157 @renovate (#174)
v0.8.1 🔧 Fix issues with upcoming 2024.9 release
This release is a must if you upgrade HA to 2024.9+. It fixes some issues with templates and services.
It also includes updated Slovakian translations. Thanks @misa1515!
Changes
- Update sk.json @misa1515 (#146)
- Update sk.json @misa1515 (#128)
- Update dependency pytest-homeassistant-custom-component to v0.13.156 @renovate (#171)
- Update dependency ruff to v0.6.3 - autoclosed @renovate (#172)
- Fix 2024.9 issues - stricter entity service schema validation & templ… @danieldotnl (#173)
- Update dependency pytest-homeassistant-custom-component to v0.13.155 @renovate (#170)
- Update dependency ruff to v0.6.2 @renovate (#168)
- Update dependency pytest-homeassistant-custom-component to v0.13.154 @renovate (#169)
- Update dependency ruff to v0.6.0 @renovate (#167)
- Update dependency pytest-homeassistant-custom-component to v0.13.153 @renovate (#166)
- Update dependency croniter to v3 @renovate (#157)
- Update dependency pytest-homeassistant-custom-component to v0.13.152 @renovate (#164)
- Update dependency ruff to v0.5.7 @renovate (#165)
- Update dependency pytest-homeassistant-custom-component to v0.13.151 @renovate (#163)
- Update dependency pytest-homeassistant-custom-component to v0.13.150 @renovate (#161)
- Update dependency ruff to v0.5.6 @renovate (#160)
- Update dependency pytest-homeassistant-custom-component to v0.13.148 @renovate (#159)
- Update dependency ruff to v0.5.5 @renovate (#158)
- Update dependency ruff to v0.5.4 @renovate (#153)
- Update softprops/action-gh-release action to v2.0.8 @renovate (#156)
- Update dependency pytest-homeassistant-custom-component to v0.13.147 @renovate (#152)
- Update dependency ruff to v0.5.1 @renovate (#151)
- Update dependency pytest-homeassistant-custom-component to v0.13.144 @renovate (#150)
- Update dependency ruff to v0.5.0 @renovate (#148)
- Update dependency pytest-homeassistant-custom-component to v0.13.138 @renovate (#149)
- Update dependency pytest-homeassistant-custom-component to v0.13.137 @renovate (#147)
- Update dependency ruff to v0.4.10 @renovate (#144)
- Update dependency pytest-homeassistant-custom-component to v0.13.136 @renovate (#145)
- Update softprops/action-gh-release action to v2.0.6 @renovate (#143)
- Update dependency ruff to v0.4.9 @renovate (#139)
- Update dependency pytest-homeassistant-custom-component to v0.13.135 @renovate (#142)
- Update dependency pytest-homeassistant-custom-component to v0.13.133 @renovate (#140)
- Update dependency pytest-homeassistant-custom-component to v0.13.124 @renovate (#137)
- Update dependency pytest-homeassistant-custom-component to v0.13.123 @renovate (#136)
- Update softprops/action-gh-release action to v2.0.5 @renovate (#134)
- Update dependency ruff to v0.4.4 @renovate (#135)
- Update dependency croniter to v2.0.5 @renovate (#105)
- Update dependency pytest-homeassistant-custom-component to v0.13.122 @renovate (#132)
- Update dependency pytest-homeassistant-custom-component to v0.13.121 @renovate (#131)
- Update dependency ruff to v0.4.3 @renovate (#130)
- Update dependency pytest-homeassistant-custom-component to v0.13.120 @renovate (#129)
- Update dependency ruff to v0.4.2 @renovate (#127)
- Update dependency pytest-homeassistant-custom-component to v0.13.116 @renovate (#126)
v0.8.0 💪 Custom reset intervals and a calibrate service
This release introduces a calibrate service which can be used to adjust the value of the sensor. E.g. you start measuring the number of coffees your coffee machine produces, but it already brewed 50 cups before you configured MeasureIt. You can now set it to 50!
Until now, all sensors other than hourly ones, were resetting at midnight. It is now also possible to reset your sensors at custom intervals by means of a cron expression. E.g.: when you want to measure the time you spent in bed, it's not very convenient if the sensor resets at midnight.
Changes
- Update dependency ruff to v0.4.1 @renovate (#124)
- Refactor reset service implementation @danieldotnl (#122)
- Implement a calibrate service @danieldotnl (#121) Closes #115
- Add support for custom cron expressions @danieldotnl (#120) Closes #102
- Update README.md @danieldotnl (#123)
- Update dependency ruff to v0.3.7 @renovate (#118)
- Update dependency pytest-homeassistant-custom-component to v0.13.114 @renovate (#119)
- Update szenius/set-timezone action to v2 @renovate (#117)
- Update dependency pytest-homeassistant-custom-component to v0.13.113 @renovate (#116)
v0.7.1 Small fix in options flow
Changes
- Fix unknown error when updating sensor config @danieldotnl (#114)
- Update dependency pytest-homeassistant-custom-component to v0.13.111 @renovate (#112)
- Update lint.yml to python 3.12 @danieldotnl (#113)
- Update dependency ruff to v0.3.5 @renovate (#111)
v0.7.0 Resetting source entities
For source meter configurations: source entities that reset can now still be tracked if they have state_class total_increasing
.
As an example: we can now measure the precipitation per week based on a source sensor that resets every day.
Changes
- Support source entities that reset with state class total_increasing @danieldotnl (#104)
- Make sure we are compatible with HA core change regarding event filters in 2024.4 @danieldotnl (#109)
- Add translatable icons @danieldotnl (#110)
- Update dependency pytest-homeassistant-custom-component to v0.13.109 @renovate (#108)
- Update dependency ruff to v0.3.4 @renovate (#107)
v0.6.0 Reset after measuring session and more
You can now choose a sensor that will reset after each measuring session. E.g. when you want to measure some device that is running multiple times per day.
A DST issues is fixed which caused the monthly pattern to finish 1 hour too early. Please fix your existing configurations manually with the reset service.
Thank you @misa1515 for providing Slovakian translations!
Changes
- Fix issue with determining end of pattern with dst and add tests @danieldotnl (#99)
- Implement sensor reset functionality after each measuring session. @danieldotnl (#100)
- Add source entity attribute on source sensors @danieldotnl (#92)
- Update sk.json @misa1515 (#95)
- Update dependency ruff to v0.3.3 @renovate (#101)
- Update dependency pytest-homeassistant-custom-component to v0.13.108 @renovate (#98)
- Add debug settings in container config @danieldotnl (#97)
- Update softprops/action-gh-release action to v2.0.4 @renovate (#96)
- Update softprops/action-gh-release action to v2.0.3 @renovate (#94)
- Update softprops/action-gh-release action to v2.0.2 @renovate (#93)
- Update dependency ruff to v0.3.2 @renovate (#90)
- Update softprops/action-gh-release action to v2.0.1 @renovate (#89)
- Update softprops/action-gh-release action to v2 @renovate (#88)
v0.5.4 Relaunching MeasureIt!
🥳 Relauching MeasureIt! 🥳
It took some time but here you have a brand new MeasureIt release.
And I heard you! It contains:
- a counter sensor 🙌. Count each time a template evaluates to True!
- a reset service that can reset any sensor, now or at a future datetime
- sensors that do not reset (automatically, but you can reset them with the reset service)
- source sensors now update immediately when the source entity updates
- the issues with the sensors sometimes resetting at UTC midnight has been fixed.
- fixed issue with device_class and state_class that did not respect what you configured.
- lots of automated tests
I think all of this deserves a version jump to 0.5.x!
A lot changed and have been rewritten but I tried to support your existing configurations as good as possible! If you still do encounter issues with those, please delete them and create a new config entry.
If you have sensors that were affected by the UTC reset time bug, you can set the correct datetime with the new reset service.
Documentation has been updated as well, so please re-read the README on github!
Questions? Use the community forum!
Bugs? Create an issue on Github.
v0.1.1 🌈 Non-resetting sensor
🥳 New features
Changes
- Update dependency homeassistant to v2024.1.3 @renovate (#47)
- Update dependency ruff to v0.1.13 @renovate (#46)
- Update README.md for HACS inclusion @kylehakala (#48)
- Bump pytest from 7.4.3 to 7.4.4 @dependabot (#44)
- Bump ruff from 0.1.9 to 0.1.11 @dependabot (#49)
- Bump homeassistant from 2023.12.3 to 2024.1.2 @dependabot (#50)
- Update dependency ruff to v0.1.9 @renovate (#41)
- Configure Renovate @renovate (#40)
- Bump colorlog from 6.7.0 to 6.8.0 @dependabot (#34)
- Bump ruff from 0.1.6 to 0.1.8 @dependabot (#39)
- Bump actions/setup-python from 4 to 5 @dependabot (#35)
- Bump homeassistant from 2023.11.2 to 2023.12.3 @dependabot (#38)
- Bump ruff from 0.1.3 to 0.1.6 @dependabot (#32)
- Bump homeassistant from 2023.10.5 to 2023.11.2 @dependabot (#30)
- Bump ruff from 0.1.1 to 0.1.3 @dependabot (#27)
- Bump pytest from 7.4.2 to 7.4.3 @dependabot (#26)
- Bump ruff from 0.0.292 to 0.1.1 @dependabot (#24)
- Bump homeassistant from 2023.10.3 to 2023.10.5 @dependabot (#25)
- Bump homeassistant from 2023.10.1 to 2023.10.3 @dependabot (#23)
- Update pip requirement from <23.2,>=21.0 to >=21.0,<23.4 @dependabot (#22)