Giter VIP home page Giter VIP logo

Comments (2)

CM000n avatar CM000n commented on September 25, 2024 3

Thanks for reporting. Will have an look into it

from ha_toyota.

wolfspirituk avatar wolfspirituk commented on September 25, 2024

Did anything get found - any hope of resolving this - I have the same.

2024-07-29 08:26:45.583 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up toyota.binary_sensor
2024-07-29 08:26:45.584 INFO (MainThread) [homeassistant.components.device_tracker] Setting up toyota.device_tracker
2024-07-29 08:26:45.585 INFO (MainThread) [homeassistant.components.sensor] Setting up toyota.sensor
2024-07-29 08:26:45.590 ERROR (MainThread) [homeassistant.components.sensor] Error adding entity None for domain sensor with platform toyota
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 598, in _async_add_entities
await coro
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 831, in _async_add_entity
unit_of_measurement=entity.unit_of_measurement,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 512, in unit_of_measurement
if self._is_valid_suggested_unit(suggested_unit_of_measurement):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 383, in _is_valid_suggested_unit
raise ValueError(
ValueError: Entity <class 'custom_components.toyota.sensor.ToyotaSensor'> suggest an incorrect unit of measurement: %.

from ha_toyota.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.