From 92c572e9f4b7375c68ec36a450ea990d03f374d0 Mon Sep 17 00:00:00 2001 From: Austin Mroczek Date: Sun, 5 Mar 2023 23:35:42 +0000 Subject: [PATCH] more blueprint find and replace --- .devcontainer.json | 2 +- .github/ISSUE_TEMPLATE/bug.yml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yml | 2 +- README.md | 2 +- README_template.md | 47 ------------------- custom_components/neovolta/const.py | 2 +- .../neovolta/translations/en.json | 2 +- 7 files changed, 6 insertions(+), 53 deletions(-) delete mode 100644 README_template.md diff --git a/.devcontainer.json b/.devcontainer.json index 5fda428..aa40e68 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -1,5 +1,5 @@ { - "name": "ludeeus/integration_blueprint", + "name": "austinmroczek/neovolta", "image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.10-bullseye", "postCreateCommand": "scripts/setup", "forwardPorts": [ diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 9c65fef..4037834 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -22,7 +22,7 @@ body: required: true - label: This issue only contains 1 issue (if you have multiple issues, open one issue for each issue). required: true - - label: This issue is not a duplicate issue of currently [previous issues](https://github.com/ludeeus/integration_blueprint/issues?q=is%3Aissue+label%3A%22Bug%22+).. + - label: This issue is not a duplicate issue of currently [previous issues](https://github.com/austinmroczek/neovolta/issues?q=is%3Aissue+label%3A%22Bug%22+).. required: true - type: textarea attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 433467b..0f26d4a 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -14,7 +14,7 @@ body: required: true - label: This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request). required: true - - label: This issue is not a duplicate feature request of [previous feature requests](https://github.com/ludeeus/integration_blueprint/issues?q=is%3Aissue+label%3A%22Feature+Request%22+). + - label: This issue is not a duplicate feature request of [previous feature requests](https://github.com/austinmroczek/neovolta/issues?q=is%3Aissue+label%3A%22Feature+Request%22+). required: true - type: textarea diff --git a/README.md b/README.md index e27dccd..512d896 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Platform | Type | Description 1. Download _all_ the files from the `custom_components/neovolta/` directory (folder) in this repository. 1. Place the files you downloaded in the new directory (folder) you created. 1. Restart Home Assistant -1. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Integration blueprint" +1. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "NeoVolta" ## Configuration is done in the UI diff --git a/README_template.md b/README_template.md deleted file mode 100644 index 5d69ec4..0000000 --- a/README_template.md +++ /dev/null @@ -1,47 +0,0 @@ -# Notice - -The component and platforms in this repository are not meant to be used by a -user, but as a "blueprint" that custom component developers can build -upon, to make more awesome stuff. - -HAVE FUN! 😎 - -## Why? - -This is simple, by having custom_components look (README + structure) the same -it is easier for developers to help each other and for users to start using them. - -If you are a developer and you want to add things to this "blueprint" that you think more -developers will have use for, please open a PR to add it :) - -## What? - -This repository contains multiple files, here is a overview: - -File | Purpose | Documentation --- | -- | -- -`.devcontainer.json` | Used for development/testing with Visual Studio Code. | [Documentation](https://code.visualstudio.com/docs/remote/containers) -`.github/ISSUE_TEMPLATE/*.yml` | Templates for the issue tracker | [Documentation](https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository) -`.vscode/tasks.json` | Tasks for the devcontainer. | [Documentation](https://code.visualstudio.com/docs/editor/tasks) -`custom_components/integration_blueprint/*` | Integration files, this is where everything happens. | [Documentation](https://developers.home-assistant.io/docs/creating_component_index) -`CONTRIBUTING.md` | Guidelines on how to contribute. | [Documentation](https://help.github.com/en/github/building-a-strong-community/setting-guidelines-for-repository-contributors) -`LICENSE` | The license file for the project. | [Documentation](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository) -`README.md` | The file you are reading now, should contain info about the integration, installation and configuration instructions. | [Documentation](https://help.github.com/en/github/writing-on-github/basic-writing-and-formatting-syntax) -`requirements.txt` | Python packages used for development/lint/testing this integration. | [Documentation](https://pip.pypa.io/en/stable/user_guide/#requirements-files) - -## How? - -1. Create a new repository in GitHub, using this repository as a template by clicking the "Use this template" button in the GitHub UI. -1. Open your new repository in Visual Studio Code devcontainer (Preferably with the "`Dev Containers: Clone Repository in Named Container Volume...`" option). -1. Rename all instances of the `integration_blueprint` to `custom_components/` (e.g. `custom_components/awesome_integration`). -1. Rename all instances of the `Integration Blueprint` to `` (e.g. `Awesome Integration`). -1. Run the `scrtipts/develop` to start HA and test out your new integration. - -## Next steps - -These are some next steps you may want to look into: -- Add tests to your integration, [`pytest-homeassistant-custom-component`](https://github.com/MatthewFlamm/pytest-homeassistant-custom-component) can help you get started. -- Add brand images (logo/icon) to https://github.com/home-assistant/brands. -- Create your first release. -- Share your integration on the [Home Assistant Forum](https://community.home-assistant.io/). -- Submit your integration to the [HACS](https://hacs.xyz/docs/publish/start). diff --git a/custom_components/neovolta/const.py b/custom_components/neovolta/const.py index f3849db..6d53cce 100644 --- a/custom_components/neovolta/const.py +++ b/custom_components/neovolta/const.py @@ -1,4 +1,4 @@ -"""Constants for integration_blueprint.""" +"""Constants for neovolta.""" from logging import Logger, getLogger LOGGER: Logger = getLogger(__package__) diff --git a/custom_components/neovolta/translations/en.json b/custom_components/neovolta/translations/en.json index 049f7a4..83cdb6b 100644 --- a/custom_components/neovolta/translations/en.json +++ b/custom_components/neovolta/translations/en.json @@ -2,7 +2,7 @@ "config": { "step": { "user": { - "description": "If you need help with the configuration have a look here: https://github.com/ludeeus/integration_blueprint", + "description": "If you need help with the configuration have a look here: https://github.com/austinmroczek/neovolta", "data": { "username": "Username", "password": "Password"