Code Monkey home page Code Monkey logo

Comments (6)

tomaae avatar tomaae commented on September 26, 2024

Oh, sure. I will look into that.

from homeassistant-openmediavault.

tomaae avatar tomaae commented on September 26, 2024

Solved in v1.0.1

from homeassistant-openmediavault.

Marte2007 avatar Marte2007 commented on September 26, 2024

Now I am able to add the integration, but I don't get any entity...
This time there's an error in the logs:

Logger: homeassistant.config_entries
Source: custom_components/openmediavault/helper.py:15
First occurred: 19:13:52 (1 occurrences)
Last logged: 19:13:52

Error setting up entry FileServer for openmediavault
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 216, in async_setup
    hass, self
  File "/config/custom_components/openmediavault/__init__.py", line 31, in async_setup_entry
    await controller.async_update()
  File "/config/custom_components/openmediavault/omv_controller.py", line 105, in async_update
    await self.hass.async_add_executor_job(self.get_hwinfo)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/openmediavault/omv_controller.py", line 129, in get_hwinfo
    ensure_vals=[{"name": "memUsage", "default": 0},],
  File "/config/custom_components/openmediavault/helper.py", line 86, in parse_api
    data = fill_vals(data, entry, uid, vals)
  File "/config/custom_components/openmediavault/helper.py", line 225, in fill_vals
    data[_name] = from_entry(entry, _source, default=_default)
  File "/config/custom_components/openmediavault/helper.py", line 15, in from_entry
    if param not in entry:
TypeError: argument of type 'NoneType' is not iterable

from homeassistant-openmediavault.

tomaae avatar tomaae commented on September 26, 2024

can you run it in debug?

from homeassistant-openmediavault.

tomaae avatar tomaae commented on September 26, 2024

Found the issue, should be fine now in v1.0.2

from homeassistant-openmediavault.

Marte2007 avatar Marte2007 commented on September 26, 2024

It's working now, thanks

from homeassistant-openmediavault.

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.