Comments (4)
Je ne peux pas corriger cette erreur mais normalement vous devriez avoir votre bodyscale.xxxx à créer. J'espère qu'un développeur trouvera une solution.
You should not have a problem with this error.
from bodymiscale.
Same error here.
Logger: homeassistant.setup
Source: custom_components/bodymiscale/init.py:280
First occurred: 16:45:22 (1 occurrences)
Last logged: 16:45:22
Error during setup of component bodymiscale
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/config/custom_components/bodymiscale/init.py", line 114, in async_setup
await component.async_add_entities(entities)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 317, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 509, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 530, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 295, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 321, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/config/custom_components/bodymiscale/init.py", line 280, in state_attributes
ATTR_WEIGHT: "{:.2f}".format(weight),
TypeError: unsupported format string passed to NoneType.format
from bodymiscale.
I have exactly the same problem.
Installed via HACS, setup all files.
Data is send from scale to esphome to home assistant. I can see my weight and impedance.
But this integration is showing the error right after booting.
I can also see a log message with this:
File "/config/custom_components/bodymiscale/init.py", line 228, in _check_max if value > max_value: TypeError: '>' not supported between instances of 'str' and 'float'
Maybe you can provide some beta version with more debug logs that are maybe helpful
from bodymiscale.
Update v0.0.4 fix errors
https://github.com/dckiller51/bodymiscale/releases/tag/v0.0.4 or Update via HACS
from bodymiscale.
Related Issues (20)
- Error when Impedance sensor has zero value
- body type issue HOT 2
- translate to es language HOT 1
- New Error HOT 4
- Amazfit Body Scale HOT 1
- Error after Core version 2023.7.0 installed HOT 12
- Is visceral_fat correct? HOT 5
- Domain changed to number in HA HOT 4
- Unable to config through UI HOT 3
- Home Assistant device name problem HOT 4
- Can't config bodymiscale HOT 17
- Partial deletion problem
- Issue with multiple Services HOT 4
- Integration is crashing after update to 3.1.2 HOT 2
- I made a Traditional Chinese Translation zh-Hant.json to the folder but not work? HOT 8
- Not working in 2024.1 beta HOT 4
- Incorrect womens calculations HOT 4
- Translate HOT 1
- Metrics interpretation HOT 1
- Historical values HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bodymiscale.