Hier zur Info meine funktionierende HA Config dazu:
command_line:
- sensor:
name: "oemag_marktpreis"
unique_id: oemag_marktpreis
scan_interval: 21600
unit_of_measurement: "EUR/kWh"
command: curl -s https://www.libe.net/oemag | grep "<div id=\"mp-now\">" | grep -Eo "[0-9.]*"
command_line:
- sensor:
name: "oemag_marktpreis"
unique_id: oemag_marktpreis
scan_interval: 21600
unit_of_measurement: "EUR/kWh"
command: curl -s https://www.libe.net/oemag | grep "<div id=\"mp-now\">" | grep -Eo "[0-9.]*"
Fragen / Kommentare zu Aktueller OeMAG-Marktpreis