Skip to content

Commit

Permalink
add manifest to solve no 'version' key issue #10
Browse files Browse the repository at this point in the history
  • Loading branch information
bit3725 committed Apr 19, 2021
1 parent 37e0c32 commit 318e1e3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 13 additions & 0 deletions custom_components/mi_water_purifier/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"domain": "mi_water_purifier",
"name": "XiaoMi Water Purifier",
"version": "0.2.0",
"documentation": "https://github.com/bit3725/homeassistant-mi-water-purifier",
"requirements": [
"python-miio>=0.3.1"
],
"dependencies": [],
"codeowners": [
"@bit3725"
]
}
2 changes: 0 additions & 2 deletions custom_components/mi_water_purifier/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

_LOGGER = logging.getLogger(__name__)

REQUIREMENTS = ['python-miio>=0.3.1']

TAP_WATER_QUALITY = {'name': 'Tap water', 'key': 'ttds'}
FILTERED_WATER_QUALITY = {'name': 'Filtered water', 'key': 'ftds'}
PP_COTTON_FILTER_REMAINING = {'name': 'PP cotton filter', 'key': 'pfd', 'days_key': 'pfp'}
Expand Down

0 comments on commit 318e1e3

Please sign in to comment.