Skip to content

Commit

Permalink
Hassfest added
Browse files Browse the repository at this point in the history
  • Loading branch information
littleyoda committed Jun 10, 2024
1 parent ec2149d commit d0259e9
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 6 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/hassfest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Validate with hassfest

on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"

jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: home-assistant/actions/hassfest@master
- name: HACS validation
uses: "hacs/action@main"
with:
category: "integration"
5 changes: 3 additions & 2 deletions custom_components/pysmaplus/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"name": "SMA Devices Plus (not for production use)",
"codeowners": ["@littleyoda", "@kellerza", "@rklomp"],
"config_flow": true,
"documentation": "https://github.com/littleyoda/pysma/tree/tripowerX",
"iot_class": "local_polling",
"documentation": "https://github.com/littleyoda/ha-pysmaplus",
"integration_type": "device",
"iot_class": "local_polling",
"issue_tracker": "https://github.com/littleyoda/ha-pysmaplus/issues",
"loggers": ["pysma"],
"requirements": ["pysma-plus>=0.3.0"],
"version": "0.3.0"
Expand Down
31 changes: 28 additions & 3 deletions custom_components/pysmaplus/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"accesslong": "Interface"
},
"data_description": {
"host": "The hostname or IP address of your SMA device."
},
"description": "## Webconnect\nDevices that supports the webconnect standard. Many SMA devices from end of 2014 to 2023. (e.g. Sunny Tripower Smart Energy, Sunny Boy Storage)\n\n## EnnoxOS\nNewer devices from SMA from approx. 2023. (e.g. Tripower X, EVCharger)\n\n## Speedwire Energymeter\nSunny Home Manager 2 as well Energymeter 10/20\n\n## Speedwire\nAlmost all SMA devices with a network connection. Only unencrypted communication is supported. The password for the account \"user\" can be set using the Sunny Explorer Software",
"title": "Set up SMA Solar"
Expand Down Expand Up @@ -62,6 +61,32 @@
"description": "There is nothing to update."
}
}
}

},
"services": {
"set_value": {
"description": "Set a Value.",
"fields": {
"entity_id": {
"description": "Parameter to be set.",
"name": "Parameter"
},
"value": {
"description": "Value.",
"name": "Value"
}
},
"name": "Set Parameter"
},
"get_value_range": {
"description": "Returns the permitted settings for a parameter.",
"fields": {
"entity_id": {
"description": "Parameter.",
"name": "Parameter"
}
},
"name": "Get Settings"
}
}

}
1 change: 0 additions & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "SMA Devices Plus (not for production use)",
"domains": ["sensor"],
"zip_release": true,
"render_readme": true,
"filename": "ha-pysmaplus.zip"
Expand Down

0 comments on commit d0259e9

Please sign in to comment.