Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
muppet3000 committed Nov 1, 2023
2 parents 6f42356 + c9d564f commit e466117
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 11 deletions.
1 change: 1 addition & 0 deletions custom_components/growatt_server_api/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
DEFAULT_NAME = "Growatt"

SERVER_URLS = [
"https://openapi.growatt.com/",
"https://server-api.growatt.com/",
"https://server.growatt.com/",
"https://server-us.growatt.com/",
Expand Down
8 changes: 4 additions & 4 deletions custom_components/growatt_server_api/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"domain": "growatt_server_api",
"name": "Growatt Server API",
"codeowners": ["@muppet3000"],
"config_flow": true,
"documentation": "https://github.com/muppet3000/homeassistant-growatt_server_api",
"requirements": ["growattServer==1.3.0"],
"codeowners": ["@muppet3000"],
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/muppet3000/homeassistant-growatt_server_api/issues",
"loggers": ["growattServerApi"],
"version": "1.0.2",
"issue_tracker": "https://github.com/muppet3000/homeassistant-growatt_server_api/issues"
"requirements": ["growattServer==1.3.0"],
"version": "1.0.3"
}
1 change: 1 addition & 0 deletions custom_components/growatt_server_api/sensor_types/total.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
api_key="todayEnergy",
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
device_class=SensorDeviceClass.ENERGY,
state_class=SensorStateClass.TOTAL_INCREASING,
),
GrowattSensorEntityDescription(
key="total_output_power",
Expand Down
25 changes: 18 additions & 7 deletions custom_components/growatt_server_api/translations/bg.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
{
"config": {
"abort": {
"no_plants": "В този акаунт не са открити соларни централи"
},
"error": {
"invalid_auth": "\u041d\u0435\u0432\u0430\u043b\u0438\u0434\u043d\u043e \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u044f\u0432\u0430\u043d\u0435"
"invalid_auth": "Невалидно удостоверяване"
},
"step": {
"plant": {
"data": {
"plant_id": "Централа"
},
"title": "Изберете вашата соларна централа"
},
"user": {
"data": {
"name": "\u0418\u043c\u0435",
"password": "\u041f\u0430\u0440\u043e\u043b\u0430",
"name": "Име",
"password": "Парола",
"url": "URL",
"username": "\u041f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0441\u043a\u043e \u0438\u043c\u0435"
}
"username": "Потребителско име"
},
"title": "Въведете информацията за Growatt"
}
}
}
}
},
"title": "Growatt Server"
}

0 comments on commit e466117

Please sign in to comment.