Energidata Service Data Attribute as a table

Hello,

I have the integration with Energi Data Service.
Anyone has an idea how could I display the attributes for today as a table on the main page?

Try flex-table-card (it has a dedicated thread here)

I tried.

So, the raw data I get is the following:

current_price: 3.2431025779855
unit: kWh
currency: DKK
region: West of the great belt
region_code: DK1
tomorrow_valid: true
next_data_update: 13:39:53
today: 2.174, 2.113, 2.099, 2.112, 2.141, 2.177, 2.47, 2.699, 2.564, 2.396, 2.236, 2.154, 2.105, 2.085, 2.099, 2.122, 2.165, 2.773, 3.669, 4.766, 4.816, 3.243, 2.557, 2.408
tomorrow: 2.254, 2.188, 2.168, 2.163, 2.165, 2.265, 2.657, 3.004, 2.768, 2.483, 2.314, 2.21, 2.172, 2.158, 2.146, 2.179, 2.264, 2.801, 3.097, 4.471, 3.342, 2.529, 2.327, 2.243
raw_today:

  • hour: ‘2024-09-03T00:00:00+02:00’
    price: 2.174
  • hour: ‘2024-09-03T01:00:00+02:00’
    price: 2.113
  • hour: ‘2024-09-03T02:00:00+02:00’
    price: 2.099
  • hour: ‘2024-09-03T03:00:00+02:00’
    price: 2.112
  • hour: ‘2024-09-03T04:00:00+02:00’
    price: 2.141
  • hour: ‘2024-09-03T05:00:00+02:00’
    price: 2.177
  • hour: ‘2024-09-03T06:00:00+02:00’
    price: 2.47
  • hour: ‘2024-09-03T07:00:00+02:00’
    price: 2.699
  • hour: ‘2024-09-03T08:00:00+02:00’
    price: 2.564
  • hour: ‘2024-09-03T09:00:00+02:00’
    price: 2.396
  • hour: ‘2024-09-03T10:00:00+02:00’
    price: 2.236
  • hour: ‘2024-09-03T11:00:00+02:00’
    price: 2.154
  • hour: ‘2024-09-03T12:00:00+02:00’
    price: 2.105
  • hour: ‘2024-09-03T13:00:00+02:00’
    price: 2.085
  • hour: ‘2024-09-03T14:00:00+02:00’
    price: 2.099
  • hour: ‘2024-09-03T15:00:00+02:00’
    price: 2.122
  • hour: ‘2024-09-03T16:00:00+02:00’
    price: 2.165
  • hour: ‘2024-09-03T17:00:00+02:00’
    price: 2.773
  • hour: ‘2024-09-03T18:00:00+02:00’
    price: 3.669
  • hour: ‘2024-09-03T19:00:00+02:00’
    price: 4.766
  • hour: ‘2024-09-03T20:00:00+02:00’
    price: 4.816
  • hour: ‘2024-09-03T21:00:00+02:00’
    price: 3.243
  • hour: ‘2024-09-03T22:00:00+02:00’
    price: 2.557
  • hour: ‘2024-09-03T23:00:00+02:00’
    price: 2.408

raw_tomorrow:

  • hour: ‘2024-09-04T00:00:00+02:00’
    price: 2.254
  • hour: ‘2024-09-04T01:00:00+02:00’
    price: 2.188
  • hour: ‘2024-09-04T02:00:00+02:00’
    price: 2.168
  • hour: ‘2024-09-04T03:00:00+02:00’
    price: 2.163
  • hour: ‘2024-09-04T04:00:00+02:00’
    price: 2.165
  • hour: ‘2024-09-04T05:00:00+02:00’
    price: 2.265
  • hour: ‘2024-09-04T06:00:00+02:00’
    price: 2.657
  • hour: ‘2024-09-04T07:00:00+02:00’
    price: 3.004
  • hour: ‘2024-09-04T08:00:00+02:00’
    price: 2.768
  • hour: ‘2024-09-04T09:00:00+02:00’
    price: 2.483
  • hour: ‘2024-09-04T10:00:00+02:00’
    price: 2.314
  • hour: ‘2024-09-04T11:00:00+02:00’
    price: 2.21
  • hour: ‘2024-09-04T12:00:00+02:00’
    price: 2.172
  • hour: ‘2024-09-04T13:00:00+02:00’
    price: 2.158
  • hour: ‘2024-09-04T14:00:00+02:00’
    price: 2.146
  • hour: ‘2024-09-04T15:00:00+02:00’
    price: 2.179
  • hour: ‘2024-09-04T16:00:00+02:00’
    price: 2.264
  • hour: ‘2024-09-04T17:00:00+02:00’
    price: 2.801
  • hour: ‘2024-09-04T18:00:00+02:00’
    price: 3.097
  • hour: ‘2024-09-04T19:00:00+02:00’
    price: 4.471
  • hour: ‘2024-09-04T20:00:00+02:00’
    price: 3.342
  • hour: ‘2024-09-04T21:00:00+02:00’
    price: 2.529
  • hour: ‘2024-09-04T22:00:00+02:00’
    price: 2.327
  • hour: ‘2024-09-04T23:00:00+02:00’
    price: 2.243

today_min:
hour: ‘2024-09-03T13:00:00+02:00’
price: 2.085

today_max:
hour: ‘2024-09-03T20:00:00+02:00’
price: 4.816

today_mean: 2.589
tomorrow_min:
hour: ‘2024-09-04T14:00:00+02:00’
price: 2.146

tomorrow_max:
hour: ‘2024-09-04T19:00:00+02:00’
price: 4.471

tomorrow_mean: 2.515
use_cent: false
attribution: Data sourced from Energi Data Service
net_operator: N1
tariffs:
additional_tariffs:
transmissions_nettarif: 0.092
systemtarif: 0.064
elafgift: 0.951
tariffs:
‘0’: 0.138
‘1’: 0.138
‘2’: 0.138
‘3’: 0.138
‘4’: 0.138
‘5’: 0.138
‘6’: 0.206
‘7’: 0.206
‘8’: 0.206
‘9’: 0.206
‘10’: 0.206
‘11’: 0.206
‘12’: 0.206
‘13’: 0.206
‘14’: 0.206
‘15’: 0.206
‘16’: 0.206
‘17’: 0.537
‘18’: 0.537
‘19’: 0.537
‘20’: 0.537
‘21’: 0.206
‘22’: 0.206
‘23’: 0.206

unit_of_measurement: DKK/kWh
device_class: monetary
icon: mdi:flash
friendly_name: energy_cost_buy

I get some error on the Hour column:

Suggest to continue this discussion in the mentioned main thread. You will attract more flex-table-card users.