Entity ID providing a state with the value of the percentage of fossil fuel consumption. The state should be 100 when all the energy from the grid comes from high emission sources and 0 when all the energy from the grid comes from low emission sources.
So, states with 0 means 100% green energy..
But sensor with 0 currently mark all as fossil/high emission...
To Reproduce
Steps to reproduce the behavior:
Create percent sensor with states 0
Use it as fossil_fuel_percentageentity
As shown in screenshot, all imported energy is reported as fossil
Expected behavior
Shows correct percentage.
Screenshots
Sensor template:
Power flow config:
Card:
Desktop (please complete the following information):
OS: Windows 11
Browser: Brave
Version: 1.65.114
Additional context
Add any other context about the problem here.
Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.
[x] I understand that this is a channel for reporting bugs, not a support forum (If you need help configuring the card, go to: Discussions).
[x] I have the latest version of the card installed.
[x] I have cleared my browser cache after installing, updating and configuring the card.
[x] The issue is not related to the UI-Editor not being rendered: "s.entries is not a function". This is a known bug, and is caused by Card Mod. Check the warning this readme section for more information on how to fix it.
Describe the bug This is the documentation:
So, states with
0
means 100% green energy..But sensor with
0
currently mark all as fossil/high emission...To Reproduce Steps to reproduce the behavior:
0
fossil_fuel_percentage
entity
Expected behavior Shows correct percentage.
Screenshots Sensor template:
Power flow config:
Card:
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.
[x] I understand that this is a channel for reporting bugs, not a support forum (If you need help configuring the card, go to: Discussions).
[x] I have the latest version of the card installed.
[x] I have cleared my browser cache after installing, updating and configuring the card.
[x] The issue is not related to the UI-Editor not being rendered: "s.entries is not a function". This is a known bug, and is caused by Card Mod. Check the warning this readme section for more information on how to fix it.