Skip to content

Commit

Permalink
Add xiaomi_clean_area service; Change platform name; change domain
Browse files Browse the repository at this point in the history
  • Loading branch information
tykarol committed Feb 15, 2021
1 parent 7b68d5e commit 5d4131c
Show file tree
Hide file tree
Showing 12 changed files with 126 additions and 433 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/add-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
uses: actions/checkout@v2
- name: ZIP files
run: |
cd /home/runner/work/home-assistant-vacuum-styj02ym/home-assistant-vacuum-styj02ym/custom_components/miio2
zip miio2.zip -r ./
cd /home/runner/work/home-assistant-viomi-vacuum-v8/home-assistant-viomi-vacuum-v8/custom_components/viomi_vacuum_v8
zip release.zip -r ./
- name: Upload zip to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/home-assistant-vacuum-styj02ym/home-assistant-vacuum-styj02ym/custom_components/miio2/miio2.zip
asset_name: miio2.zip
file: /home/runner/work/home-assistant-viomi-vacuum-v8/home-assistant-viomi-vacuum-v8/custom_components/viomi_vacuum_v8/release.zip
asset_name: release.zip
tag: ${{ github.ref }}
overwrite: true
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Hacky Home assistant support for Xiaomi vacuum STYJ02YM
# Home assistant support for Viomi Vacuum V8 (STYJ02YM)

## This is for STYJ02YM (apparently EU version) with 3.5.3_0017 firmware
This is for Viomi Vacuum V8 (STYJ02YM) (apparently EU version) with 3.5.3_0017 firmware.

### Install:
- install it with HACS
- Add the configuration to configuration.yaml, example:
## Install:
- Install it with [HACS](https://hacs.xyz/)
- Add the configuration to `configuration.yaml`, example:

```yaml
vacuum:
- platform: miio2
host: 192.168.68.105
token: !secret vacuum
name: Mi hihi
- platform: viomi_vacuum_v8
host: 192.168.0.105
token: !secret viomi_vacuum_v8_token
name: 'Viomi Vacuum V8'
```
Services described in the `services.yaml`.
13 changes: 0 additions & 13 deletions custom_components/miio2/README.md

This file was deleted.

1 change: 0 additions & 1 deletion custom_components/miio2/__init__.py

This file was deleted.

12 changes: 0 additions & 12 deletions custom_components/miio2/manifest.json

This file was deleted.

Loading

0 comments on commit 5d4131c

Please sign in to comment.