InventoCasa / ha-advanced-blueprints

Advanced Blueprints combined with pyscript for extra useful automations
139 stars 33 forks source link

Error unknown service #59

Open uhu313 opened 2 months ago

uhu313 commented 2 months ago

The automation "Surplus load" ("automation.overload") has an action that calls an unknown service: "pyscript.pv_excess_control"

this is the error. Can you help me?

Everything is installed regarding instruction…

greeting uhu313 IMG_1492

Ardarel commented 1 month ago

Did you found solution?

uhu313 commented 1 month ago

Yes. In fact, two lines of code were indented incorrectly and the script didn't like that… 😂

nukleuz80 commented 1 month ago

Please show incorrect code...

123vvbznfjk321 commented 1 month ago

Hallo, kann mir jemand erklären wie man PV Excess Control nach der Installation bedient bzw. prüfen kann, ob die Automation läuft ?

nukleuz80 commented 1 month ago

Hallo, kann mir jemand erklären wie man PV Excess Control nach der Installation bedient bzw. prüfen kann, ob die Automation läuft ?

Das versuche ich auch gerade herauszufinden, doch ohne laufenden Blueprint wird das nichts...

Maik7 commented 1 month ago

in configuration.yaml debug Infos einschalten


logger:
  default: warn
  logs:
    custom_components.pyscript.file.pv_excess_control: debug

und dann wird bei laufendem PC Exess Control minütlich in home-assistant.log der Status ausgegeben.

123vvbznfjk321 commented 1 month ago

Das funktioniert.Wie aber wird die Automation bei der Spülmaschine mit einem Shelly praktisch umgesetzt ? Shelly EIN schalten und Spülmaschine starten anschließend Shelly sofort wieder AUS schalten. Wenn es dann passt schaltet PV EXCESS wieder ein ?Am 08.05.2024 19:08 schrieb Maik7 @.***>: in configuration.yaml debug Infos einschalten

logger: default: warn logs: custom_components.pyscript.file.pv_excess_control: debug

und dann wird bei laufendem PC Exess Control minütlich in home-assistant.log der Status ausgegeben.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

nukleuz80 commented 1 month ago

Zum ursprünglichen Thema: ich musste meine pv_excess_control.py Datei neu hochladen. Läuft…