homeassistant-powercalc
homeassistant-powercalc copied to clipboard
Add tariffs by powercalc GUI
Checklist
- [X] I have filled out the template to the best of my ability.
- [X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
- [X] This issue is not a duplicate feature request of previous feature requests.
Is your feature request related to a problem? Please describe.
If I am right there is currently no feature in the GUI to add tariffs.
Describe the solution you'd like
Please extend GUI to add tariffs.
Describe alternatives you've considered
I have to use YAML instead for powercalc or use helper of HA.
Additional context
No necessary
Added with #2059. Will be in next release. You can select that in the last step of the GUI flow.
Hi bramstroker,
#2059 was part of v1.10.5., right? Currently I use v1.10.8. Today I tried to create a tariff but did not find it in the dialog of creating a real power sensor. Where can I find the dialog you show in your comment above?
It's only added on creating virtual power sensor. I'll consider to also add to real power dialog.
I have implemented this with #2100 and #2099 To not polute the dialog with utillity meter options I have made this a separate step. This step is only presented when you toggle create utility meters to on. cycles and tariffs are selectable now.
I have implemented this separate step for "Daily fixed energy", "Real power sensor" and "Group" flows.
Will be part of next release. When you want to test you can install the master branch with HACS. Click reinstall and toggle "beta versions" checkbox.
Where do we need to add the tariffs for them to show up? My existing tariffs are not coming up in the drop down because I have them defined in the YAML for my specific grid import and export sensors.
After add tariffy my meters is Unavailable.
Edit: However, I checked it a couple of times - up to version 1.10.8 everything works, checking the utility metters option adds 4 counters. However, since version 1.11.0 I cannot in any way add a new sensor or edit the old one to have utility metters. It doesn't matter whether I enter tariffs or select the second option for time, utility metters never add themselves.
To track the energy usage of my heat pump I entered 3 utility meters (daily, monthly yearly) and 4 tariffs for operating states ('Heating', Hotwater', 'Defrost', 'Others') into the GUI. PowerCalc generated 12 sensors, like " ...daily_heating" etc. Great!
What about the function descripted in the docu "overall utility meter you can add general to the list of tariffs"? Today I added the tariff "general" and PowerCalc generates just one sensor "... energy_daily", no sensor for monthly or yearly. And the value of sensor "... energy_daily" is wrong. Is "general" a reasonable option using the GUI?
After add tariffy my meters is Unavailable.
Edit: However, I checked it a couple of times - up to version 1.10.8 everything works, checking the utility metters option adds 4 counters. However, since version 1.11.0 I cannot in any way add a new sensor or edit the old one to have utility metters. It doesn't matter whether I enter tariffs or select the second option for time, utility metters never add themselves.
@WMP Please create a new issue and include relevant logs.
To track the energy usage of my heat pump I entered 3 utility meters (daily, monthly yearly) and 4 tariffs for operating states ('Heating', Hotwater', 'Defrost', 'Others') into the GUI. PowerCalc generated 12 sensors, like " ...daily_heating" etc. Great!
What about the function descripted in the docu "overall utility meter you can add general to the list of tariffs"? Today I added the tariff "general" and PowerCalc generates just one sensor "... energy_daily", no sensor for monthly or yearly. And the value of sensor "... energy_daily" is wrong. Is "general" a reasonable option using the GUI?
@miwa4711 Could be a bug. Would be nice if this also works for GUI. I'll have a look at it, not sure when. Rather busy this week.
@miwa4711 Should be fixed with #2128. Will be in next release. At least it will create the general sensor for all configured cycles. You are also saying it is "wrong". Please provide more information about that, what do you see and what do you expect.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.