Giter Site home page Giter Site logo

Comments (4)

magico13 avatar magico13 commented on July 30, 2024

It's not an issue if it happens during startup and you're seeing whatever is logged still showing up as a device, in this case only the Balance sensor. Balance and a few others aren't "real" and only show up when requesting usage data, not when requesting the list of devices, so they're "extra" data returned when the first poll happens. It'll get added to Home Assistant at that point and future polling will know to look for it.

It's a side effect of the partial rewrite of the startup logic and part of an attempt to allow adding and removing Emporia devices without having to restart the integration. That's not complete, so you do still have to restart if you add a smart plug, but the startup is a bit more resilient to devices not returning data in the first poll in the current state.

from ha-emporia-vue.

warmfire540 avatar warmfire540 commented on July 30, 2024

Ok that's a solid explanation. Anything I can do to suppress this warning since it will correct itself or is not too relevant?

I have an integration that reports on warnings/errors - so trying to shore up a few last warnings.

from ha-emporia-vue.

magico13 avatar magico13 commented on July 30, 2024

Unfortunately no, I'll have to change it to an info level message for it to go away, sorry.

from ha-emporia-vue.

rcmaehl avatar rcmaehl commented on July 30, 2024

Having a similar log entry, but not exactly the same. Warns it'll be broken in 2025.1

2024-07-10 18:57:43.682 WARNING (MainThread) [custom_components.emporia_vue] Unused data found during update. Unused data: {'284890-Balance-1MIN': <pyemvue.device.VueDeviceChannelUsage object at 0x7f3f4ad5b500>}
2024-07-10 18:57:44.068 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'emporia_vue' calls async_forward_entry_setup for integration, emporia_vue with title: Customer 165989 and entry_id: e27c67ca15889d0e6c5c99ea2574f39b, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/emporia_vue/__init__.py, line 326: hass.async_create_task(, please create a bug report at https://github.com/magico13/ha-emporia-vue/issues
2024-07-10 18:57:44.112 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration emporia_vue with title: Customer 165989 and entry_id: e27c67ca15889d0e6c5c99ea2574f39b, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.```

from ha-emporia-vue.

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.