Giter Club home page Giter Club logo

Comments (4)

Garulf avatar Garulf commented on August 28, 2024

Np thanks for reporting it! I'll take a look as soon as I can.

from ha-commander.

Garulf avatar Garulf commented on August 28, 2024

Please try and update to latest version. This should be fixed.

Please feel free to reopen if its still happening!

from ha-commander.

guntern avatar guntern commented on August 28, 2024

I got this issue the past days as well. Today I updated to version 5.1.0 and still have this issue. Just some line numbers are different

Traceback (most recent call last):
  File C:\Users\...\AppData\Roaming\FlowLauncher\Plugins\HA-Commander-5.1.0\lib\flox\launcher.py, line 44, in run
    results = request_method(*request_parameters) or self._results
  File C:\Users\...\AppData\Roaming\FlowLauncher\Plugins\HA-Commander-5.1.0\lib\flox\__init__.py, line 131, in _query
    self.query(query)
  File C:\Users\....\AppData\Roaming\FlowLauncher\Plugins\HA-Commander-5.1.0\plugin\main.py, line 53, in query
    states = self.client.states()
  File C:\Users\...\AppData\Roaming\FlowLauncher\Plugins\HA-Commander-5.1.0\plugin\homeassistant.py, line 122, in states
    entities.append(self.create_entity(entity))
  File C:\Users\...\AppData\Roaming\FlowLauncher\Plugins\HA-Commander-5.1.0\plugin\homeassistant.py, line 147, in create_entity
    return _cls(self, entity)
  File C:\Users\...\AppData\Roaming\FlowLauncher\Plugins\HA-Commander-5.1.0\plugin\homeassistant.py, line 328, in __init__
    setattr(self, current_source, partial(self._select_source, source))
UnboundLocalError: local variable 'source' referenced before assignment

from ha-commander.

Garulf avatar Garulf commented on August 28, 2024

Fixed in: #44

Sorry about that.

from ha-commander.

Related Issues (14)

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.