python-aranet4 (2.5.1-1)
[PTS] [DDPO]
COMMITS: VCS has seen 17 commits since the debian/2.4.0-2 tag
- Git: https://salsa.debian.org/homeassistant-team/deps/python-aranet4.git
-
- Branch: debian/unstable
- Path: debian/changelog
- Repo size: 172032
- Browser: https://salsa.debian.org/homeassistant-team/deps/python-aranet4
- Last scan: 2025-10-11 23:46:02+00
- Next scan: 2025-10-19 11:44:00+00
- Debian changelog in Git:
python-aranet4 (2.5.1-1) unstable; urgency=medium
* New upstream release.
* Update debhelper-compat to version 13.
* Update Standards-Version.
* Add <!nocheck> to test dependencies.
* Add my name to debian/copyright and Uploaders.
* Patch tests for new bleak version.
-- Edward Betts <edward@4angle.com> Wed, 20 Aug 2025 22:24:43 +0100
- This branch is 17 commits ahead of tag debian/2.4.0-2
- Git log:
commit c17260278cb1bfccf8a58b5e998586086632023a
Author: Edward Betts <edward@4angle.com>
Date: Wed Aug 20 22:32:56 2025 +0100
New upstream release.
* Update debhelper-compat to version 13.
* Update Standards-Version.
* Add <!nocheck> to test dependencies.
* Add my name to debian/copyright and Uploaders.
* Patch tests for new bleak version.
commit bb42aa181ecb4d212cc280b8fe6655b5aa721cd5
Merge: bfd98ef 892ea20
Author: Edward Betts <edward@4angle.com>
Date: Wed Aug 20 22:24:12 2025 +0100
Merge tag 'v2.5.1' into debian/unstable
commit 892ea20514fb3d1e7514889f141171e93ab0cde4
Author: Anrijs <anrijs@anrijs.lv>
Date: Tue Feb 4 20:46:37 2025 +0200
v2.5.1
commit 81fe77987fbc84e446581da9d41b73da45f28cd0
Author: Anrijs <anrijs@anrijs.lv>
Date: Tue Feb 4 20:42:56 2025 +0200
tests: added aranet2 status test
commit 5b831784cb5e53cd301c3fe747e2c09e28cf61c1
Author: Anrijs <anrijs@anrijs.lv>
Date: Tue Feb 4 20:41:42 2025 +0200
client: fix aranet2 temperature status value (fix #58)
commit 9731d752a754b51f4448633c50355e17c5f53182
Author: Anrijs <Anrijs@users.noreply.github.com>
Date: Sun Jan 5 10:50:12 2025 +0200
v2.5.0
commit 285d7e363f7e2fcd20fe039cf49150248bfdf53e
Author: Anrijs <Anrijs@users.noreply.github.com>
Date: Sun Jan 5 10:47:18 2025 +0200
fix tests
commit f902984c9af268d10601f0fd36b6be1e39a707c2
Author: Lucas Gasenzer <lucasgasenzer@mac.com>
Date: Sun Jan 5 09:41:08 2025 +0100
Add property `model` to `AranetType()` for use in Home Assistant (#57)
* Add property manufacturer_name to class AranetType()
* add type.manufacturer_data to scanner_simple.py
* renamed manufacturer_name to model
* renamed manufacturer_name to model
* add test for ad.readings.type.model
* move "Model:" to top section of results
* add "Model:" to top section of results
* exclude 'build/' and '.venv/' from git
* removed "HOME" from model, as it can not be detected from type
commit b927e3589cac7b23429c8ff8339c7fe9b4ca91e9
Author: Matthew <5273302+Matthew1471@users.noreply.github.com>
Date: Wed Sep 25 06:40:08 2024 +0100
Normalize UUIDs (#51)
* Improve Readability
- Improve code readability by using bleak's 16-bit UUID normalization function.
- Improve code readability by re-ordering UUIDs by value.
- Refactor GENERIC_READ_DEVICE_NAME to COMMON_READ_DEVICE_NAME as it is no different from the other COMMON UUIDs.
- Improved readability by commenting out currently unused UUIDs.
* Bluetooth UUIDs
- Added additional missing characteristics and services.
- Improved readability by making it clear what's a service and what is a characteristic.
- Some characteristics had "AR4" but they were not AR4 specific, all are now deemed Aranet characteristics unless they only apply to AR2.
- Sorted the UUIDs by value for easy locating.
---------
Co-authored-by: Anrijs <Anrijs@users.noreply.github.com>
commit 1d13cba4c17a968760175d7328981799af69a23c
Author: Matthew <5273302+Matthew1471@users.noreply.github.com>
Date: Wed Sep 25 06:34:26 2024 +0100
PyLint (#52)
* PyLint
- Removed trailing commas from some print statements.
- Specified encoding on file operations.
- Converted some formatted strings to f-strings as this project uses f-strings.
- Marked "addr" as unused in found.items() to show it's not used.
- Color and Status are 2 different things. There is no BLUE color (?) and added missing YELLOW.
- "status_t" and "status_h" was confusing.. refactored to status_temperature and status_humidity.
- Removed erroneous f-string.
- Optimised _decode_status_flags logic.. but don't have an Aranet2 device to test.
- Optimised _get_b to be more readable.
- Refactored "tru" and "fal" to "true_condition" and "false_condition" for readability.
- Optimised if start < 1 by using max statement.
- "value" was not used but assigned when reading history.
- Removed superfluous else.
- Fixed comment typo.
- Removed superfluous spaces.
- Removed superfluous parenthesis.
- Removed unused imports.
- Fixed incorrect indentation.
- Fixed duplicate function declaration in test_values and fixed test case.
* Fixed MQTT example readme
- Fixed MQTT example readme listing the wrong syntax.
- Fixed spacing in scanner_simple.py
* Standardise File Variables
- "csvfile" wasn't following PEP8, refactored to "csv_file".
- "f" and "fh" was used for non csv files, refactored to "file".
- Specified file param keywords, "r" and "w" might not be as friendly for first time developers.
* More PyLint Suggestions
- Using keywords for requests.post.
- Added an arbitrary 5 minutes timeout to requests.post instead of an indefinite hang.
- Separated multiple statements on single line as per pylint recommendation.
- Converted a format string to an f-string as this project uses f-strings.
- Fixed some comment capitalisation.
- Removed unused import (requests in influ import).
- Commented out an unused field (i in influx).
- Cleaned MQTT import.
- Defined default encoding in test_csv.
* Fixed Inconsistent Quoting + Trailing Commas
- Project used a combination of single and double quotes (sometimes on the same line). PEP8 recommends sticking to one. Project used more double quotes than single quotes, have standardised on that.
- Added missing keywords to file that should have been in previous commit.
- Added mode="r" to import.py.
- Removed trailing commas.
commit 3a8fda30b41dbb52c481c7588506c40e18a8f4e8
Author: Anrijs <Anrijs@users.noreply.github.com>
Date: Mon Sep 16 07:18:41 2024 +0300
added gitignore
commit 1416962b8c6d9f8e4cf473ecb9be88fe86745b8d
Author: Anrijs <Anrijs@users.noreply.github.com>
Date: Mon Sep 16 07:05:56 2024 +0300
tests: fix test_values test
commit 865accfffebfc6e5bec534947a7ed76328fa6079
Author: Matthew <5273302+Matthew1471@users.noreply.github.com>
Date: Mon Sep 16 04:57:32 2024 +0100
Improve README (#49)
- Aranet URLs were causing multiple HTTP 301 redirects (and one forced the English language and the others did not).
- Removed some references specifically to the Aranet4 device (library supports more than just that device).
- Linked to the Aranet Home application.
commit 8e90af605ca5c4470e04630e1eda872481522b7e
Author: Matthew <5273302+Matthew1471@users.noreply.github.com>
Date: Mon Sep 16 04:56:46 2024 +0100
client: Fix client Minor Typos (#48)
* Fix client Minor Typos
- Fix a couple of minor typos in client.py.
* Fix Extra Typo
- Fixed another 2 typos.
commit d340319434bfa4a8f5b592877c21a76532bb128c
Author: Matthew <5273302+Matthew1471@users.noreply.github.com>
Date: Mon Sep 16 04:56:07 2024 +0100
examples: Improve scanner_advanced.py (#47)
- `BLEDevice.rssi` is deprecated since version 0.19.0 (see https://bleak.readthedocs.io/en/latest/api/index.html#bleak.backends.device.BLEDevice.rssi) switched to using the advertisement rssi (see https://bleak.readthedocs.io/en/latest/api/scanner.html#bleak.BleakScanner.discover).
- Battery has a "&" symbol after it instead of a percentage symbol (typo?).
commit b2e40a557c5f1b2acfa3a3872ddcb34aebb7ea23
Author: Matthew <5273302+Matthew1471@users.noreply.github.com>
Date: Mon Sep 16 04:54:21 2024 +0100
docs: Fix UUIDs Minor Typos (#46)
- Fix a couple of minor typos in UUIDs.md.
commit 517241c40d5f6f71387340fb2da0b1fa92816070
Author: Matthew <5273302+Matthew1471@users.noreply.github.com>
Date: Mon Sep 16 04:53:12 2024 +0100
Improve scanner_simple.py (#45)
* Improve scanner_simple.py
- `BLEDevice.rssi` is deprecated since version 0.19.0 (see https://bleak.readthedocs.io/en/latest/api/index.html#bleak.backends.device.BLEDevice.rssi) switched to using the advertisement rssi (see https://bleak.readthedocs.io/en/latest/api/scanner.html#bleak.BleakScanner.discover).
- Comment states scan runs for 10 seconds but it actually runs for 5, corrected to run for 10 as it is not detecting Aranet4 in my environment at only 5 seconds.
- Battery has a "&" symbol after it instead of a percentage symbol (typo)?.
* Improve Console Consistency
- Fixed formatting of scanner_simple.py to be more consistent with the client advertising printout.
- Added unit to client.py age.
- Fixed another typo in client.py.