Skip to content

Commit f2459a8

Browse files
committed
fix: repair UTF-8 BOM and mojibake introduced in the v1.1.6 bump
The previous commit bumped the version using PowerShell Set-Content, which in Windows PowerShell 5.1 writes UTF-8 WITH a BOM and re-encodes content read by Get-Content -Raw under the wrong codepage. Two files were damaged: - manifest.json gained a leading BOM. Python json.loads rejects a BOM, so this could have prevented the integration loading entirely for anyone installing v1.1.6. - README.md gained a BOM plus mojibake throughout, with every non-ASCII glyph mangled (emoji and em dashes). Restored both from the pre-bump commit and re-applied the version change with an encoding-safe edit. Verified the only difference from the clean state is the two version strings, and that manifest.json parses.
1 parent 2f0dff3 commit f2459a8

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<a href="https://www.buymeacoffee.com/0xAHA" target="_blank"><img src="docs/images/qr-code-buymeacoffee.png" alt="Buy Me A Coffee QR code" width="130" align="right"></a>
1+
<a href="https://www.buymeacoffee.com/0xAHA" target="_blank"><img src="docs/images/qr-code-buymeacoffee.png" alt="Buy Me A Coffee QR code" width="130" align="right"></a>
22

3-
# Growatt Modbus Integration for Home Assistant ☀️
3+
# Growatt Modbus Integration for Home Assistant ☀️
44

55
![HACS Badge](https://img.shields.io/badge/HACS-Custom-orange.svg)
66
![Version](https://img.shields.io/badge/Version-1.1.6-blue.svg)
@@ -9,9 +9,9 @@
99

1010
<a href="https://www.buymeacoffee.com/0xAHA" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
1111

12-
A native Home Assistant integration for Growatt solar inverters using **direct Modbus RTU/TCP communication**. Real-time data straight from your inverter — no cloud, no ShineWiFi, no dependency on Growatt's servers.
12+
A native Home Assistant integration for Growatt solar inverters using **direct Modbus RTU/TCP communication**. Real-time data straight from your inverter no cloud, no ShineWiFi, no dependency on Growatt's servers.
1313

14-
## 📖 [Full documentation → https://0xaha.github.io/Growatt_ModbusTCP/](https://0xaha.github.io/Growatt_ModbusTCP/)
14+
## 📖 [Full documentation https://0xaha.github.io/Growatt_ModbusTCP/](https://0xaha.github.io/Growatt_ModbusTCP/)
1515

1616
The documentation site covers supported models, sensor reference, inverter controls, energy dashboard setup, troubleshooting, and developer guides.
1717

@@ -23,17 +23,17 @@ The documentation site covers supported models, sensor reference, inverter contr
2323

2424
[![Install via HACS](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=0xAHA&repository=Growatt_ModbusTCP&category=integration)
2525

26-
1. Open **HACS** → **⋮ menu** → **Custom repositories**
26+
1. Open **HACS** ** menu** **Custom repositories**
2727
2. Add URL `https://github.com/0xAHA/Growatt_ModbusTCP`, category: **Integration**
28-
3. Search **"Growatt Modbus"** in HACS → **Download**
28+
3. Search **"Growatt Modbus"** in HACS **Download**
2929
4. **Restart Home Assistant**
30-
5. **Settings** → **Devices & Services** → **Add Integration** → search **"Growatt Modbus"**
30+
5. **Settings** **Devices & Services** **Add Integration** search **"Growatt Modbus"**
3131

3232
### Manual
3333

3434
1. Download the [latest release](https://github.com/0xAHA/Growatt_ModbusTCP/releases) and extract
3535
2. Copy `growatt_modbus/` into `config/custom_components/`
36-
3. Restart Home Assistant and add via **Settings** → **Devices & Services**
36+
3. Restart Home Assistant and add via **Settings** **Devices & Services**
3737

3838
---
3939

@@ -58,11 +58,11 @@ The setup wizard runs auto-detection automatically for VPP-capable inverters. Fo
5858

5959
## License
6060

61-
MIT License — see [LICENSE](LICENSE)
61+
MIT License see [LICENSE](LICENSE)
6262

6363
---
6464

65-
**Made with ☀️ and ☕ by [@0xAHA](https://github.com/0xAHA)**
65+
**Made with ☀️ and by [@0xAHA](https://github.com/0xAHA)**
6666

6767
---
6868

custom_components/growatt_modbus/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"domain": "growatt_modbus",
33
"name": "Growatt Modbus",
44
"codeowners": ["@0xAHA"],

0 commit comments

Comments
 (0)