Im scarping the electricity cost from the web and inputing it to my HA. However the prices gets inputed wrong as the website display it as öre(cents)/kwh but HA sees it as kronor(dollar)/kwh.
So would it be possible to add 0. infront of my value template so it can be read directly by HA?
sensor:
- platform: scrape
resource: https://elen.nu/timpriser-pa-el-for-elomrade-se3-stockholm/
name: Electricity price
select: ".text-lg:is(span)"
index: 1
value_template: '{{ value | replace (",", ".") | float }}'
unit_of_measurement: "öre/kWh"