Skip to content

Commit

Permalink
feat: implement support for weather sensors; related to #72
Browse files Browse the repository at this point in the history
BREAKING CHANGE: weather sensors are untested due to lack of device
  • Loading branch information
muhlba91 committed Nov 16, 2023
1 parent f988e53 commit 0830d24
Show file tree
Hide file tree
Showing 28 changed files with 1,718 additions and 1,026 deletions.
1 change: 0 additions & 1 deletion .flakeheaven_cache/975e7a37850e323f5cb88e2c904ec06e.json

This file was deleted.

1 change: 0 additions & 1 deletion .flakeheaven_cache/e04f20f45df6269780bfca68615a220e.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
max-parallel: 4
matrix:
python-version: ["3.11"]
poetry-version: [1.5.1]
poetry-version: [1.7.0]

steps:
- name: Checkout repository
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
max-parallel: 4
matrix:
python-version: ["3.11"]
poetry-version: [1.5.1]
poetry-version: [1.7.0]

steps:
- name: Checkout repository
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -430,3 +430,5 @@ dmypy.json
.prof

# End of https://www.toptal.com/developers/gitignore/api/intellij,intellij+all,pycharm,pycharm+all,python

.flakeheaven_cache/
36 changes: 12 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
[![](https://img.shields.io/github/actions/workflow/status/muhlba91/onyx-homeassistant-integration/release.yml?style=for-the-badge)](https://github.com/muhlba91/onyx-homeassistant-integration/actions/workflows/release.yml)
[![](https://img.shields.io/coveralls/github/muhlba91/onyx-homeassistant-integration?style=for-the-badge)](https://github.com/muhlba91/onyx-homeassistant-integration/)
[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs)
[![Known Vulnerabilities](https://snyk.io/test/github/muhlba91/onyx-homeassistant-integration/badge.svg)](https://snyk.io/test/github/muhlba91/onyx-homeassistant-integration/)
[![Known Vulnerabilities](https://snyk.io/test/github/muhlba91/onyx-homeassistant-integration/badge.svg)](https://snyk.io/test/github/muhlba91/onyx-homeassistant-integration)
<a href="https://www.buymeacoffee.com/muhlba91" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="28" width="150"></a>

This component creates an integration that provides **raffstore/shutter entities** to control
[Hella's ONYX.CENTER](https://www.hella.info/) via Home Assistant.
This component creates an integration that provides the following entities to control [Hella's ONYX.CENTER](https://www.hella.info/) via Home Assistant:

- **raffstore/shutter** entities
- **weather station** sensor entities

---

Expand Down Expand Up @@ -71,7 +73,13 @@ Once configured, the integration **creates entities** for:
| Entity | Description |
|----------------------|------------------------------------------------------------------------------------------------------------------|
| Cover | Manage the shutter. ([API Reference](https://developers.home-assistant.io/docs/core/entity/cover/)) |
| Sensor (Device Type) | The device type of the shutter. ([API Reference](https://developers.home-assistant.io/docs/core/entity/sensor/)) |
| Sensor (Device Type) | The device type of the ONYX device. ([API Reference](https://developers.home-assistant.io/docs/core/entity/sensor/)) |
| Sensor (Weather Humidity) | The humidity of the weather sensor. ([API Reference](https://developers.home-assistant.io/docs/core/entity/sensor/)) |
| Sensor (Weather Temperature) | The temperature of the weather sensor. ([API Reference](https://developers.home-assistant.io/docs/core/entity/sensor/)) |
| Sensor (Weather Air Pressure) | The air pressure of the weather sensor. ([API Reference](https://developers.home-assistant.io/docs/core/entity/sensor/)) |
| Sensor (Weather Wind Peak) | The wind peak of the weather sensor. ([API Reference](https://developers.home-assistant.io/docs/core/entity/sensor/)) |
| Sensor (Weather Sun Brightness Peak) | The sun brightness peak of the weather sensor. ([API Reference](https://developers.home-assistant.io/docs/core/entity/sensor/)) |
| Sensor (Weather Sun Brightness Sink) | The sun brightness sink of the weather sensor. ([API Reference](https://developers.home-assistant.io/docs/core/entity/sensor/)) |

---

Expand Down Expand Up @@ -127,26 +135,6 @@ adhere to the additional rules outlined in `.conform.yaml`.

---

## Release

To draft a release, use [standard-version](https://github.com/conventional-changelog/standard-version):

```bash
standard-version
# alternatively
npx standard-version
```

Finally, push with tags:

```bash
git push --follow-tags
```

**Note:** releasing is automated through the `master` branch!

---

## Contributions

Please feel free to contribute, be it with Issues or Pull Requests! Please read
Expand Down
Loading

0 comments on commit 0830d24

Please sign in to comment.