1. Fix the issue of duplicate entity names;
2. Fix the issue of some entities being unavailable;
This commit is contained in:
10
README.md
10
README.md
@@ -38,7 +38,7 @@ Before the Jackery integration can receive any data, **two things must be in pla
|
|||||||
- Use the vendor/Jackery mobile app to add the device/gateway and complete its initial setup.
|
- Use the vendor/Jackery mobile app to add the device/gateway and complete its initial setup.
|
||||||
- **⚠️ APP Version Requirement**: Jackery APP version must be greater than **2.0.0** to support this integration.
|
- **⚠️ APP Version Requirement**: Jackery APP version must be greater than **2.0.0** to support this integration.
|
||||||
- Make sure the device has network access and is configured so that it can connect to your MQTT/cloud backend.
|
- Make sure the device has network access and is configured so that it can connect to your MQTT/cloud backend.
|
||||||
- In the Jackery app, long-press the app logo to open the configuration screen.
|
- Go to Device Details Page > Settings > MQTT in the Jackery app to open the configuration page.
|
||||||
- In the Jackery app configuration, **replace the IP with the address of your own MQTT server**.
|
- In the Jackery app configuration, **replace the IP with the address of your own MQTT server**.
|
||||||

|

|
||||||
|
|
||||||
@@ -55,13 +55,7 @@ Before the Jackery integration can receive any data, **two things must be in pla
|
|||||||
- Add repository URL: `https://github.com/ht-it-lab/jackery`
|
- Add repository URL: `https://github.com/ht-it-lab/jackery`
|
||||||
- Category: `Integration`
|
- Category: `Integration`
|
||||||
- Click **Add**
|
- Click **Add**
|
||||||
2. **Install the integration**
|
2. **Configure the integration**
|
||||||
|
|
||||||
- In HACS, search for **"Jackery"**
|
|
||||||
- Click **Install**
|
|
||||||
- Restart Home Assistant
|
|
||||||
3. **Configure the integration**
|
|
||||||
|
|
||||||
- Go to **Settings → Devices & Services → Add Integration**
|
- Go to **Settings → Devices & Services → Add Integration**
|
||||||
- Search for **"Jackery"**
|
- Search for **"Jackery"**
|
||||||
- **Enter your Token** (Required for authentication)
|
- **Enter your Token** (Required for authentication)
|
||||||
|
|||||||
@@ -288,22 +288,22 @@ SENSORS = {
|
|||||||
"device_class": None,
|
"device_class": None,
|
||||||
"state_class": SensorStateClass.MEASUREMENT,
|
"state_class": SensorStateClass.MEASUREMENT,
|
||||||
},
|
},
|
||||||
"is_auto_standby": {
|
# "is_auto_standby": {
|
||||||
"json_key": "isAutoStandby",
|
# "json_key": "isAutoStandby",
|
||||||
"name": "Auto Standby Allowed",
|
# "name": "Auto Standby Allowed",
|
||||||
"unit": None,
|
# "unit": None,
|
||||||
"icon": "mdi:power-sleep",
|
# "icon": "mdi:power-sleep",
|
||||||
"device_class": None,
|
# "device_class": None,
|
||||||
"state_class": None, # 1-Allowed, 0-Not Allowed
|
# "state_class": None, # 1-Allowed, 0-Not Allowed
|
||||||
},
|
# },
|
||||||
"auto_standby_status": {
|
# "auto_standby_status": {
|
||||||
"json_key": "autoStandby",
|
# "json_key": "autoStandby",
|
||||||
"name": "Auto Standby Mode",
|
# "name": "Auto Standby Mode",
|
||||||
"unit": None,
|
# "unit": None,
|
||||||
"icon": "mdi:power-sleep",
|
# "icon": "mdi:power-sleep",
|
||||||
"device_class": None,
|
# "device_class": None,
|
||||||
"state_class": None, # 0-Invalid, 1-Sleep/Off, 2-On
|
# "state_class": None, # 0-Invalid, 1-Sleep/Off, 2-On
|
||||||
},
|
# },
|
||||||
|
|
||||||
# Calculated Sensors
|
# Calculated Sensors
|
||||||
"home_power": {
|
"home_power": {
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 27 KiB |
Reference in New Issue
Block a user