Scrape integration w ver. 2022.12

Witam,

Panowie mam pytanie bo nie mogę sobie poradzić w yaml mam takie coś
sensor:

  - platform: scrape
    resource: http://192.168.1.xx/status.html
    name: Produkcja_ogolem_sofar
    authentication: basic
    username: !secret sofar_user
    password: !secret sofar_password
    select: "script"
    index: 1
    value_template: '{{ (( value.split('';'')[7] ) | replace (''var webdata_total_e = '','''') |replace(''"'', '''')|float  ) }}'
    scan_interval: 300
    unit_of_measurement: "kWh"

Jak to przerobić na integracje scrap co wpisać w value template??

Ja mam tak i działa

platform: scrape
    resource: http://xxxxxxxxxxxxxxxx/status.html
    name: Produkcja_ogolem_sofar
    authentication: basic
    username: xxxxxx
    password: xxxxxx
    select: "script"
    index: 1
    value_template: '{{ (( value.split('';'')[7] ) | replace (''var webdata_total_e = '','''') |replace(''"'', '''')|float  ) }}'
    scan_interval: 300
    unit_of_measurement: "kWh"