Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme updates in the configuration #15

Closed
typxxi opened this issue Jun 15, 2021 · 2 comments
Closed

Readme updates in the configuration #15

typxxi opened this issue Jun 15, 2021 · 2 comments

Comments

@typxxi
Copy link

typxxi commented Jun 15, 2021

CONFIGURATION TABLE
#1
plateform (Required) | string | bodymiscale
Typo cause you meant platform

#2
name (Required) | string | Custom name for the sensor. bodymiscale.nom
at the end it should be most likely like in the card mean name instead of nom, so bodymiscale.name

#3
Then in the yaml file description I'd suggest to change the definition to the source sensor that is there when you had installed the miscale instead of using a specific one. I had struggled a lot, really about 10 hours to get it working simply due to my misunderstanding about the meaning of nom / name and the sensor. I did not get anything further without your help but I guess I would not have struggled if that would have been changed.

instead of weight: sensor.weight_aurelien then sensor.ble_weight_mi_scale2

#4
and maybe a tiny bit more explanations below these 2 settings

[configuration.yaml]
bodymiscale: !include components/bodymiscale.yaml
[bodymiscale.yaml]
aurelien:
  sensors:
    weight: sensor.ble_weight_mi_scale2
height: 176
...

The configuration.yaml entry will create a plattform sensor called bodymiscale.
The name of the sensor itself is defined in the bodymiscale.yaml file in the first line by aurelien:

To check if the configruation is working properly go to the developer tools and look for the values of the
bodymiscale sensor by typing bodymiscale . You should see a sensor in this case called bodymicale.aurelien which has a lot of values (number of values shown is depending on your scale model).

Not so many changes but will reduce the demand of support and struggles - hopefully.

@dckiller51
Copy link
Owner

I let you watch the update

@dckiller51
Copy link
Owner

Let me move your post to the card github so we have a better chance of getting other opinions and help on the card.
dckiller51/lovelace-body-miscale-card#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants