Comments (10)
i have this issue too. real devices stay, but any virtual device disappears. I note the entities are still there, but inactive, but the base device is gone
from homeassistant-powercalc.
@bramstroker I was on version 1.12.3. I just updated to version 1.12.5 now and will test.
Q. this config entry is not visible anymore at "Integration entries"? A. The config disappear completely from the integration entries after restart. the entities like energy and utility entities stays but with status "Not provided"
Q. Did you create this recently? A. Yes on version 1.12.3 .
Ah ok thanks. That was exactly what I was able to reproduce and fixed. But not released yet.
This bug was specifically with "Daily fixed energy", not "Virtual power (manually)".
There was a JSON encoding issue while saving the config entry, so the entry would never been actually saved, and thus not surviving restarts.
Will release new version shortly with the fix.
But I was uncertain because of your comment "virtual device disappear" that the issue was broader than only the daily fixed sensors.
from homeassistant-powercalc.
Just released v1.12.6 with the fix.
@tubbers when your issue is not with "Daily energy" sensors please create a separate issue, and provide more information.
![Screenshot 2024-06-01 at 12 23 28](https://private-user-images.githubusercontent.com/2345875/335794426-d6213f93-a621-4054-babf-bff167c8dbb6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg1Mjg1MTUsIm5iZiI6MTcxODUyODIxNSwicGF0aCI6Ii8yMzQ1ODc1LzMzNTc5NDQyNi1kNjIxM2Y5My1hNjIxLTQwNTQtYmFiZi1iZmYxNjdjOGRiYjYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTZUMDg1NjU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGJlZjZiOWRhMmRhMGJiZjMwZTkwNTM1NjAzZDQ2ZWJjMDg1ZGVlNTBiYmU4YzQwM2Y5ODI0NWYyNmFjMjZmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.oorcMOHaun1K-2O6EyllorhrmABpTD8okfy322rJ0HQ)
from homeassistant-powercalc.
No errors in the logs?
You should see Creating daily_fixed_energy energy sensor
one time for each your config entry, which indicates the entities are being created by powercalc.
In your debugs logs I only see one for "Test_debug", so that's probably a test you did?
from homeassistant-powercalc.
Yes I did the test to collect the debug info and only that what I've got. Any daily energy sensors created by powercalc via the UI will disappear after restart the home assistant. So I went a head and created them in the configuration yaml file and they are working with no issue. The only two sensors that never disappeared from powercalc are the Google home that automatically discovered and another one I created for my Tuya smart plug. Maybe because they associate with actual devices and the daily energy all just virtual?
from homeassistant-powercalc.
@mikealanni Issue confirmed with Daily energy. I was able to reproduce and have a fix with #2271
Actually this bug was introduced in very recent version v1.12.3 from 2 weeks ago.
@tubbers For you also this config entry is not visible anymore at "Integration entries"?
![Screenshot 2024-06-01 at 08 53 17](https://private-user-images.githubusercontent.com/2345875/335783425-f7f7a00b-cc37-4687-ba3c-6dc66ff7b4b0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg1Mjg1MTUsIm5iZiI6MTcxODUyODIxNSwicGF0aCI6Ii8yMzQ1ODc1LzMzNTc4MzQyNS1mN2Y3YTAwYi1jYzM3LTQ2ODctYmEzYy02ZGM2NmZmN2I0YjAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTZUMDg1NjU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjA1YWNlNzljYzE2OWI5OWFhNDg5ZTgwYjkxM2MwN2UwMDJmMDc1ZDUwMDY2ZWQ1OGExMGI1NTc3MTJhMGQ4MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.wz0-Kub7LAGSMF_cO5uw81y0A7uv3Fq9QO312yfAzKo)
Did you create this recently?
If not available anymore please create again, and after that check the logs for errors. Also click three dots and download diagnostics than. Would help me debug the issue.
When the config entry is still visible, also download diagnostics and share.
from homeassistant-powercalc.
I have the same issue. Real device stays like Alexa and virtual device disappear.
from homeassistant-powercalc.
@laplac Could you have a look into the questions I asked to @tubbers ?
And since when do you experience this issue?
from homeassistant-powercalc.
@bramstroker I was on version 1.12.3. I just updated to version 1.12.5 now and will test.
Q. this config entry is not visible anymore at "Integration entries"?
A. The config disappear completely from the integration entries after restart. the entities like energy and utility entities stays but with status "Not provided"
Q. Did you create this recently?
A. Yes on version 1.12.3 . I didn't use Daily Energy feature before until a week ago.
from homeassistant-powercalc.
I don't have the 3 dots to download, as the devices are missing. So there is no configure option or 3 dots. Only physical devices exist. I upgraded to this new fixed version and recreated the devices. I created both daily energy and virtual devices and both were lost on reboot
from homeassistant-powercalc.
Related Issues (20)
- versione 1.11.8 doenst work HOT 3
- Global search not working anymore in library GUI HOT 1
- LCA007 lookup not working with 1.12.0 HOT 5
- FileNotFoundError - model.json HOT 10
- Use Nanoleaf A19 Matter Bulbs for HomeKit Bulbs HOT 3
- add to group for daily energy HOT 3
- wrong energy when using template HOT 3
- No lookup file found for mode: color_temp HOT 9
- Group problem HOT 9
- Unexpected device attributes HOT 5
- Ikea LED1537R6 is not recognized. HOT 1
- Blocking call to open inside the event loop in Home Assistant 2024.6.0 beta
- OFF consumption > min ON consumption with TRADFRI bulb E27 WS globe 1055lm (LED2201G8) HOT 1
- PowerCalc: Cannot connect to powercalc.lauwbier.nl:443 HOT 2
- None entities HOT 7
- After every reboot integration automatically creates a None device HOT 32
- Error and not starting after upgrade from 1.12.6 to 1.12.7 HOT 11
- Detected blocking call to open inside the event loop by custom integration 'powercalc' HOT 1
- Plugin no longer working in offline mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-powercalc.