@luuuis com a ajuda do @bbaixo aqui fica:
Caso queiras tirar alguma ideia para uma nova versao da integração.
PS: Fórmula para luzboa
[{"id":"675b83a0c191fba5","type":"change","z":"cd967ef81c14b84f","name":"","rules":[{"t":"set","p":"url","pt":"msg","to":"https://cpha.cpha.teste:8123/api/states/sensor.omie_spot_price_pt","tot":"str"},{"t":"set","p":"headers[\"content-type\"]","pt":"msg","to":"application/json","tot":"str"},{"t":"set","p":"headers[\"Authorization\"]","pt":"msg","to":"Bearer eyJhbGciOiJIUxxxxxxxxInR5cCI6IkpXVCJ9.eyJpc3MiOiIzODQxNjAzYWEyYjQ0NGI2OWNlMzUxxxxxxjRkYjZhOCIsImlhdCI6MTY4NTQ4Mzk0MSwiZXhwIjoyMDAwODQzOTQxfQ.cA78Vllxxxxx-sf6qfLUGWF3LS_VHSUw4KEF3L9k","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"data","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":680,"y":420,"wires":[["b5762c1dfccd4bc6"]]},{"id":"b5762c1dfccd4bc6","type":"http request","z":"cd967ef81c14b84f","name":"POST","method":"POST","ret":"txt","paytoqs":"ignore","url":"","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[],"x":830,"y":420,"wires":[[]]},{"id":"e2e3fc27b68310b1","type":"change","z":"cd967ef81c14b84f","name":"Cálculo","rules":[{"t":"set","p":"data.attributes.valor_kWh","pt":"msg","to":"$number(payload) / 1000 * 1.183 + 0.01002 - 0.0958","tot":"jsonata"},{"t":"set","p":"data.attributes.valor_kWh","pt":"msg","to":"$round(data.attributes.valor_kWh * 1000) / 1000","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":420,"wires":[["675b83a0c191fba5"]]},{"id":"bc87f03c36bac20b","type":"inject","z":"cd967ef81c14b84f","name":"hora em hora","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"3600","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":100,"y":420,"wires":[["d4875669ad0eb51f"]]},{"id":"d4875669ad0eb51f","type":"api-current-state","z":"cd967ef81c14b84f","name":"Spot Price PT","server":"cd683d65.68ba9","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.omie_spot_price_pt","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":280,"y":420,"wires":[["e2e3fc27b68310b1"]]},{"id":"cd683d65.68ba9","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]