JRascagneres / HA-NationalGrid

Custom component providing information about the UK National Grid power generation
13 stars 1 forks source link

Some remaining MWh values #6

Open ando2040 opened 7 months ago

ando2040 commented 7 months ago

Great integration. I've been playing for a couple of days and will share some ApexCharts-card YAML when I'm happy.

I noticed the sensors used to be named MWh which has been mostly corrected to MW. You may already be aware and have decided against changing, but just in case you missed it and it can still be changed, the values of sensor.national_grid_grid_generation still mostly have mwh in their names.

Gas mwh 24,362 Oil mwh 0 Coal mwh 1,378 Biomass mwh 2,906 Nuclear mwh 2,482 Wind mwh 13,320 National wind mwh 11,396 Embedded wind mwh 1,924 Solar mwh 0 Pumped storage mwh 1,253 Hydro mwh 842 Other mwh 1,350 France mwh 603 Ireland mwh -981 Netherlands mwh -619 Belgium mwh -99 Norway mwh -221 Denmark mw 801 Total generation mwh 46,640 Fossil fuel percentage generation 55.19 Renewable percentage generation 30.36 Other percentage generation 14.45 Grid collection time 18 January 2024 at 17:30:00 Low carbon percentage generation 35.69 Low carbon with biomass percentage generation 41.92

JRascagneres commented 7 months ago

@ando2040 Ah! Thanks for noticing it. Yeah I realized my mistake with mwh and changed it. The IDs unfortunately need to remain 'wrong' to avoid breaking existing installs. I'm happy to swap any textual names though. Will get it done at some point.