|
1 |
| -# MPK Rzeszów sensor |
| 1 | +[![HACS Custom][hacs_shield]][hacs] |
| 2 | +[![GitHub Latest Release][releases_shield]][latest_release] |
| 3 | +[![GitHub All Releases][downloads_total_shield]][releases] |
| 4 | +[![Buy me a coffee][buy_me_a_coffee_shield]][buy_me_a_coffee] |
| 5 | +[![PayPal.Me][paypal_me_shield]][paypal_me] |
| 6 | + |
| 7 | + |
| 8 | +[hacs_shield]: https://img.shields.io/static/v1.svg?label=HACS&message=Custom&style=popout&color=orange&labelColor=41bdf5&logo=HomeAssistantCommunityStore&logoColor=white |
| 9 | +[hacs]: https://hacs.xyz/docs/faq/custom_repositories |
| 10 | + |
| 11 | +[latest_release]: https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow/releases/latest |
| 12 | +[releases_shield]: https://img.shields.io/github/release/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow.svg?style=popout |
| 13 | + |
| 14 | +[releases]: https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow/releases |
| 15 | +[downloads_total_shield]: https://img.shields.io/github/downloads/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow/total |
| 16 | + |
| 17 | +[buy_me_a_coffee_shield]: https://img.shields.io/static/v1.svg?label=%20&message=Buy%20me%20a%20coffee&color=6f4e37&logo=buy%20me%20a%20coffee&logoColor=white |
| 18 | +[buy_me_a_coffee]: https://www.buymeacoffee.com/PiotrMachowski |
2 | 19 |
|
3 |
| -[](https://www.buymeacoffee.com/PiotrMachowski) |
4 |
| -[](https://paypal.me/PiMachowski) |
| 20 | +[paypal_me_shield]: https://img.shields.io/static/v1.svg?label=%20&message=PayPal.Me&logo=paypal |
| 21 | +[paypal_me]: https://paypal.me/PiMachowski |
| 22 | + |
| 23 | +# MPK Rzeszów sensor |
5 | 24 |
|
6 | 25 | This sensor use unofficial API provided by MPK Rzeszów.
|
7 | 26 |
|
@@ -38,12 +57,23 @@ sensor:
|
38 | 57 |
|
39 | 58 | ## Installation
|
40 | 59 |
|
41 |
| -Download [*sensor.py*](https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow/raw/master/custom_components/mpk_rzeszow/sensor.py) and [*manifest.json*](https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow/raw/master/custom_components/mpk_rzeszow/manifest.json) to `config/custom_components/mpk_rzeszow` directory: |
| 60 | +### Using [HACS](https://hacs.xyz/) (recommended) |
| 61 | + |
| 62 | +This integration can be added to HACS as a [custom repository](https://hacs.xyz/docs/faq/custom_repositories): |
| 63 | +* URL: `https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow` |
| 64 | +* Category: `Integration` |
| 65 | + |
| 66 | +After adding a custom repository you can use HACS to install this integration using user interface. |
| 67 | + |
| 68 | +### Manual |
| 69 | + |
| 70 | +To install this integration manually you have to download [*mpk_rzeszow.zip*](https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow/releases/latest/download/mpk_rzeszow.zip) extract its contents to `config/custom_components/mpk_rzeszow` directory: |
42 | 71 | ```bash
|
43 | 72 | mkdir -p custom_components/mpk_rzeszow
|
44 | 73 | cd custom_components/mpk_rzeszow
|
45 |
| -wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow/raw/master/custom_components/mpk_rzeszow/sensor.py |
46 |
| -wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow/raw/master/custom_components/mpk_rzeszow/manifest.json |
| 74 | +wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzeszow/releases/latest/download/mpk_rzeszow.zip |
| 75 | +unzip mpk_rzeszow.zip |
| 76 | +rm mpk_rzeszow.zip |
47 | 77 | ```
|
48 | 78 |
|
49 | 79 | ## Hints
|
@@ -74,3 +104,4 @@ wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-Rzes
|
74 | 104 | ```
|
75 | 105 |
|
76 | 106 | <a href="https://www.buymeacoffee.com/PiotrMachowski" target="_blank"><img src="https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>
|
| 107 | +<a href="https://paypal.me/PiMachowski" target="_blank"><img src="https://www.paypalobjects.com/webstatic/mktg/logo/pp_cc_mark_37x23.jpg" border="0" alt="PayPal Logo" style="height: auto !important;width: auto !important;"></a> |
0 commit comments