Giter Site home page Giter Site logo

Comments (9)

eddysteurs avatar eddysteurs commented on August 14, 2024 1

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on August 14, 2024 1

I think I found the issue. @eddysteurs @nepozs Could you try the master branch in your installation?
When it is also resolved for you I will publish new version.

from homeassistant-powercalc.

nepozs avatar nepozs commented on August 14, 2024 1

Just this leads to an error above (v0.2.1)

  - platform: powercalc
    entity_id: light.kuchnia1

and it is sensor working in v0.1.6

Full section - nearly all is now commented out:

sensor:
##  probably subject of next improvement and issue - Jiawen introducing itself as Feibit, and lots of spaces in manufacturer name
#  - platform: powercalc
#    entity_id: light.sufit_jiawen
## LED1649C5
#  - platform: powercalc
#    entity_id: light.swiecowa_e14_sypialnia

#  - platform: powercalc
#    entity_id: light.ikea_led1650r5
#  - platform: powercalc
#    entity_id: light.innr_test_rb175w
#  - platform: powercalc
#    entity_id: light.innr_test_rs125
  - platform: powercalc
    entity_id: light.kuchnia1
#  - platform: powercalc
#    entity_id: light.kuchnia3
#  - platform: powercalc
#    entity_id: light.lampka_biurkowa_biala
#  - platform: powercalc
#    entity_id: light.zyrandol_tv_k
    
#  - platform: powercalc
#    entity_id: light.wentylator
#    fixed:
#      power: 20.98
#    standby_usage: 0.44

from homeassistant-powercalc.

nepozs avatar nepozs commented on August 14, 2024 1

Master looks working so I'm uncommenting configuratiion and returning to
#36

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on August 14, 2024

Thanks for reporting. @nepozs had exactly the same error. Could you please provide your configuration for the component? Will have a look into this soon. For now you could revert to version 0.1.6. This bug is introduced since 0.2.0

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on August 14, 2024

@eddysteurs Are you also able to test master and confirm that it's also working for you? Than I will create the new release.

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on August 14, 2024

Btw in the 0.2.X version the configuration for linear has changed.
Old configuration is still working but will be removed in some upcoming version.

You can update this:

- platform: powercalc
  entity_id: light.lamp_voordeur
  mode: linear
  min_watt: 0.5
  max_watt: 8

to

- platform: powercalc
  entity_id: light.lamp_voordeur
  linear:
    min_power: 0.5
    max_power: 8

from homeassistant-powercalc.

nepozs avatar nepozs commented on August 14, 2024

I think that changes in configuration shoud be mentioned with release v0.2.2 and upcoming.
And please wait for me a moment - I will add 2 Ikea models if all tests pass.

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on August 14, 2024

I have published version 0.2.2 which should resolve this issue.

from homeassistant-powercalc.

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.