From fcd1c160d9cec1f6d09de24d712ac4dcd2a873e7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 18:38:41 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v6.0.0) - [github.com/asottile/pyupgrade: v2.37.3 → v3.20.0](https://github.com/asottile/pyupgrade/compare/v2.37.3...v3.20.0) - [github.com/PyCQA/isort: 5.12.0 → 6.0.1](https://github.com/PyCQA/isort/compare/5.12.0...6.0.1) - [github.com/codespell-project/codespell: v2.1.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.1.0...v2.4.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f5931ade1..4ac97b50c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v6.0.0 hooks: - id: debug-statements - id: check-builtin-literals @@ -15,16 +15,16 @@ repos: - id: trailing-whitespace - id: debug-statements - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v3.20.0 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 6.0.1 hooks: - id: isort - repo: https://github.com/codespell-project/codespell - rev: v2.1.0 + rev: v2.4.1 hooks: - id: codespell args: [--ignore-words=.ignore_words.txt] From 48d1e7f44c7b1841d9369d252161e8d39d57b790 Mon Sep 17 00:00:00 2001 From: Ernst79 Date: Wed, 17 Sep 2025 19:47:34 +0200 Subject: [PATCH 2/3] codespell corrections --- .codespell-ignore-words | 26 ++++++++++++++++++++++++++ docs/_devices/Govee_H5051.md | 2 +- docs/_devices/Govee_H5055.md | 2 +- docs/_devices/Govee_H5071.md | 2 +- docs/_devices/Govee_H5072.md | 2 +- docs/_devices/Govee_H5074.md | 2 +- docs/_devices/Govee_H5075.md | 2 +- docs/_devices/Govee_H5101_H5102.md | 2 +- docs/_devices/Govee_H5106.md | 2 +- docs/_devices/Govee_H5177.md | 2 +- docs/_devices/Govee_H5178.md | 2 +- docs/_devices/Govee_H5179.md | 2 +- docs/_devices/Govee_H5182.md | 2 +- docs/_devices/Govee_H5183.md | 2 +- docs/_devices/Govee_H5184.md | 2 +- docs/_devices/Govee_H5185.md | 2 +- docs/_devices/Govee_H5191.md | 2 +- docs/_devices/Govee_H5198.md | 2 +- 18 files changed, 43 insertions(+), 17 deletions(-) create mode 100644 .codespell-ignore-words diff --git a/.codespell-ignore-words b/.codespell-ignore-words new file mode 100644 index 000000000..195250cea --- /dev/null +++ b/.codespell-ignore-words @@ -0,0 +1,26 @@ +actve +adres +adresse +als +alle +alternativ +appareil +caracteres +conexant +deine +hass +inicial +intervall +ist +oder +paket +passiv +periode +rouge +ser +sur +te +tht +thuis +Lockin +Pares diff --git a/docs/_devices/Govee_H5051.md b/docs/_devices/Govee_H5051.md index e0a0adb1f..27bf5505e 100644 --- a/docs/_devices/Govee_H5051.md +++ b/docs/_devices/Govee_H5051.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5055.md b/docs/_devices/Govee_H5055.md index 232408f2c..89fd3ca20 100644 --- a/docs/_devices/Govee_H5055.md +++ b/docs/_devices/Govee_H5055.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5071.md b/docs/_devices/Govee_H5071.md index bc90327d9..933662416 100644 --- a/docs/_devices/Govee_H5071.md +++ b/docs/_devices/Govee_H5071.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5072.md b/docs/_devices/Govee_H5072.md index 2dfadcd06..1fb5f1755 100644 --- a/docs/_devices/Govee_H5072.md +++ b/docs/_devices/Govee_H5072.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5074.md b/docs/_devices/Govee_H5074.md index 7c61b2191..b0d16c562 100644 --- a/docs/_devices/Govee_H5074.md +++ b/docs/_devices/Govee_H5074.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5075.md b/docs/_devices/Govee_H5075.md index 6300554c9..4bdd55c34 100644 --- a/docs/_devices/Govee_H5075.md +++ b/docs/_devices/Govee_H5075.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5101_H5102.md b/docs/_devices/Govee_H5101_H5102.md index eaa6b944a..41db7d824 100644 --- a/docs/_devices/Govee_H5101_H5102.md +++ b/docs/_devices/Govee_H5101_H5102.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5106.md b/docs/_devices/Govee_H5106.md index ebb0259c2..c0136d365 100644 --- a/docs/_devices/Govee_H5106.md +++ b/docs/_devices/Govee_H5106.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5177.md b/docs/_devices/Govee_H5177.md index e314561fb..8dfc9c286 100644 --- a/docs/_devices/Govee_H5177.md +++ b/docs/_devices/Govee_H5177.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5178.md b/docs/_devices/Govee_H5178.md index 40318820a..afb32e540 100644 --- a/docs/_devices/Govee_H5178.md +++ b/docs/_devices/Govee_H5178.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. Note that two devices will be created in Home Assistant for this sensor, one with the actual MAC address, which is the indoor sensor, and one with the MAC address increased by 1, which is the outdoor sensor. You can also distinguish between the indoor and outdoor sensor by looking at the device type. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. Note that two devices will be created in Home Assistant for this sensor, one with the actual MAC address, which is the indoor sensor, and one with the MAC address increased by 1, which is the outdoor sensor. You can also distinguish between the indoor and outdoor sensor by looking at the device type. --- diff --git a/docs/_devices/Govee_H5179.md b/docs/_devices/Govee_H5179.md index 7d2cf5e5c..16b987639 100644 --- a/docs/_devices/Govee_H5179.md +++ b/docs/_devices/Govee_H5179.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5182.md b/docs/_devices/Govee_H5182.md index 18c0fd9aa..ded4cf920 100644 --- a/docs/_devices/Govee_H5182.md +++ b/docs/_devices/Govee_H5182.md @@ -14,5 +14,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5183.md b/docs/_devices/Govee_H5183.md index aeb08eadc..216444ac1 100644 --- a/docs/_devices/Govee_H5183.md +++ b/docs/_devices/Govee_H5183.md @@ -14,5 +14,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5184.md b/docs/_devices/Govee_H5184.md index a43b6ad57..64c5a33df 100644 --- a/docs/_devices/Govee_H5184.md +++ b/docs/_devices/Govee_H5184.md @@ -14,5 +14,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5185.md b/docs/_devices/Govee_H5185.md index 288556f92..215f273a3 100644 --- a/docs/_devices/Govee_H5185.md +++ b/docs/_devices/Govee_H5185.md @@ -14,5 +14,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5191.md b/docs/_devices/Govee_H5191.md index f9de83775..5dd9e8f98 100644 --- a/docs/_devices/Govee_H5191.md +++ b/docs/_devices/Govee_H5191.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- diff --git a/docs/_devices/Govee_H5198.md b/docs/_devices/Govee_H5198.md index d373ad067..cbdbbda6a 100644 --- a/docs/_devices/Govee_H5198.md +++ b/docs/_devices/Govee_H5198.md @@ -15,5 +15,5 @@ active_scan: true encryption_key: custom_firmware: notes: - - actve scan needs to be enabled in the BLE Monitor settings for this sensor to work. + - active scan needs to be enabled in the BLE Monitor settings for this sensor to work. --- From 74126b02fc5662a85e969521b209695de32df386 Mon Sep 17 00:00:00 2001 From: Ernst79 Date: Wed, 17 Sep 2025 19:49:41 +0200 Subject: [PATCH 3/3] ignore words --- .codespell-ignore-words | 26 -------------------------- .ignore_words.txt | 8 ++++++++ 2 files changed, 8 insertions(+), 26 deletions(-) delete mode 100644 .codespell-ignore-words diff --git a/.codespell-ignore-words b/.codespell-ignore-words deleted file mode 100644 index 195250cea..000000000 --- a/.codespell-ignore-words +++ /dev/null @@ -1,26 +0,0 @@ -actve -adres -adresse -als -alle -alternativ -appareil -caracteres -conexant -deine -hass -inicial -intervall -ist -oder -paket -passiv -periode -rouge -ser -sur -te -tht -thuis -Lockin -Pares diff --git a/.ignore_words.txt b/.ignore_words.txt index 77d784ea9..195250cea 100644 --- a/.ignore_words.txt +++ b/.ignore_words.txt @@ -1,10 +1,15 @@ +actve adres adresse als alle +alternativ +appareil +caracteres conexant deine hass +inicial intervall ist oder @@ -16,3 +21,6 @@ ser sur te tht +thuis +Lockin +Pares