From d5c03bffad048fb431af9485fd58173e7f385082 Mon Sep 17 00:00:00 2001 From: dckiller51 <53062806+dckiller51@users.noreply.github.com> Date: Sat, 5 Mar 2022 18:08:05 +0100 Subject: [PATCH] update 2.0.0 --- README.md | 13 +++++++++++++ custom_components/bodymiscale/const.py | 2 +- custom_components/bodymiscale/manifest.json | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d983eac..74b281f 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,19 @@ yourname: ## VERSION +## v2.0.0 + +Big update offered by @edenhaus. It offers us a better quality code and especially to be able to work in devcontainer. + +- Add code quality tools, which run with pre-commit +- removed unused code (e.g. holtek) +- use @cached_property to run certain calculation only once +- adjust names and code to python coding styles +- update ci actions +- Add devcontainer for easier development + +Thanks to you for the work done. + ## v1.1.5 - Convert weight from lbs to kgs if your scale is set to this unit (thank you @rale) diff --git a/custom_components/bodymiscale/const.py b/custom_components/bodymiscale/const.py index 198c549..6633bfa 100644 --- a/custom_components/bodymiscale/const.py +++ b/custom_components/bodymiscale/const.py @@ -2,7 +2,7 @@ # Base component constants NAME = "Body Xiaomi Miscale Esphome" DOMAIN = "bodymiscale" -VERSION = "1.1.5" +VERSION = "2.0.0" ISSUE_URL = "https://github.com/dckiller51/bodymiscale/issues" DOC_URL = "https://github.com/dckiller51/bodymiscale" diff --git a/custom_components/bodymiscale/manifest.json b/custom_components/bodymiscale/manifest.json index 13bdbfa..70c0543 100644 --- a/custom_components/bodymiscale/manifest.json +++ b/custom_components/bodymiscale/manifest.json @@ -7,5 +7,5 @@ "codeowners": ["@dckiller51"], "requirements": [], "iot_class": "calculated", - "version": "1.1.5" + "version": "2.0.0" }