-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
80 additions
and
107 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Integration Blueprint | ||
|
||
[![GitHub Release][releases-shield]][releases] | ||
[![GitHub Activity][commits-shield]][commits] | ||
[![License][license-shield]](LICENSE) | ||
|
||
[![hacs][hacsbadge]][hacs] | ||
![Project Maintenance][maintenance-shield] | ||
[![BuyMeCoffee][buymecoffeebadge]][buymecoffee] | ||
|
||
[![Discord][discord-shield]][discord] | ||
[![Community Forum][forum-shield]][forum] | ||
|
||
_Integration to integrate with [integration_blueprint][integration_blueprint]._ | ||
|
||
**This integration will set up the following platforms.** | ||
|
||
Platform | Description | ||
-- | -- | ||
`binary_sensor` | Show something `True` or `False`. | ||
`sensor` | Show info from blueprint API. | ||
`switch` | Switch something `True` or `False`. | ||
|
||
![example][exampleimg] | ||
|
||
## Installation | ||
|
||
1. Using the tool of choice open the directory (folder) for your HA configuration (where you find `configuration.yaml`). | ||
2. If you do not have a `custom_components` directory (folder) there, you need to create it. | ||
3. In the `custom_components` directory (folder) create a new folder called `integration_blueprint`. | ||
4. Download _all_ the files from the `custom_components/integration_blueprint/` directory (folder) in this repository. | ||
5. Place the files you downloaded in the new directory (folder) you created. | ||
6. Restart Home Assistant | ||
7. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Integration blueprint" | ||
|
||
Using your HA configuration directory (folder) as a starting point you should now also have this: | ||
|
||
```text | ||
custom_components/integration_blueprint/translations/en.json | ||
custom_components/integration_blueprint/translations/nb.json | ||
custom_components/integration_blueprint/translations/sensor.nb.json | ||
custom_components/integration_blueprint/__init__.py | ||
custom_components/integration_blueprint/api.py | ||
custom_components/integration_blueprint/binary_sensor.py | ||
custom_components/integration_blueprint/config_flow.py | ||
custom_components/integration_blueprint/const.py | ||
custom_components/integration_blueprint/manifest.json | ||
custom_components/integration_blueprint/sensor.py | ||
custom_components/integration_blueprint/switch.py | ||
``` | ||
|
||
## Configuration is done in the UI | ||
|
||
<!----> | ||
|
||
## Contributions are welcome! | ||
|
||
If you want to contribute to this please read the [Contribution guidelines](CONTRIBUTING.md) | ||
|
||
*** | ||
|
||
[integration_blueprint]: https://github.com/ludeeus/integration_blueprint | ||
[buymecoffee]: https://www.buymeacoffee.com/ludeeus | ||
[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge | ||
[commits-shield]: https://img.shields.io/github/commit-activity/y/ludeeus/integration_blueprint.svg?style=for-the-badge | ||
[commits]: https://github.com/ludeeus/integration_blueprint/commits/main | ||
[hacs]: https://github.com/hacs/integration | ||
[hacsbadge]: https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge | ||
[discord]: https://discord.gg/Qa5fW2R | ||
[discord-shield]: https://img.shields.io/discord/330944238910963714.svg?style=for-the-badge | ||
[exampleimg]: example.png | ||
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg?style=for-the-badge | ||
[forum]: https://community.home-assistant.io/ | ||
[license-shield]: https://img.shields.io/github/license/ludeeus/integration_blueprint.svg?style=for-the-badge | ||
[maintenance-shield]: https://img.shields.io/badge/maintainer-Joakim%20Sørensen%20%40ludeeus-blue.svg?style=for-the-badge | ||
[releases-shield]: https://img.shields.io/github/release/ludeeus/integration_blueprint.svg?style=for-the-badge | ||
[releases]: https://github.com/ludeeus/integration_blueprint/releases |
Binary file not shown.