Skip to content

Commit

Permalink
Update readme and version
Browse files Browse the repository at this point in the history
  • Loading branch information
dckiller51 committed Jan 17, 2021
1 parent 7553db7 commit c8ea9fd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,17 @@ The generated data is :
- Protein
- Body type

*************

## Installation

- You can install it manually. Simply copy and paste the contents of the
`bodymiscale/custom_components` folder in your` config/custom_components`.
For example, you will get the file `__init __.Py` in the following path:
`/config/custom_components/bodymiscale/__init__. py`.

*************

## Configuration
key | type | description
:--- | :--- | :---
Expand All @@ -63,6 +67,8 @@ key | type | description
**gender (Required)** | string | female or male. `"male"`
**Model (Optional)** | string | Define the scale model.`"181D"` or `"181B"`.

*************

## Example
**Configuration YAML**
```yaml
Expand Down Expand Up @@ -91,3 +97,14 @@ aurelien:
gender: "male"
model_miscale: "181B"
```

*************

**VERSION**

**0.0.2**

Implantation of calculations. Thanks to lolouk44. I took the liberty of taking back these files.

**0.0.1**
First version. Thanks to the designer of the component plant of homeassisant.
2 changes: 1 addition & 1 deletion custom_components/bodymiscale/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Base component constants
NAME = "Body Xiaomi Miscale Esphome"
DOMAIN = "bodymiscale"
VERSION = "0.0.1"
VERSION = "0.0.2"

ISSUE_URL = "https://github.com/dckiller51/bodymiscale/issues"
DOC_URL = "https://github.com/dckiller51/bodymiscale"
Expand Down
9 changes: 9 additions & 0 deletions custom_components/bodymiscale/translations/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"state": {
"_": {
"ok": "OK",
"problem": "Problem"
}
},
"title": "Bodymiscale"
}

0 comments on commit c8ea9fd

Please sign in to comment.