admin管理员组

文章数量:1392003

I am controlling an EV charger from Home Assistant through the Ibbrhzn ocpp integration which works fine. Now I want to check the interval the CS sends the meter values to Home assistant with the following automation:

alias: Ensure MeterValues Config is OK
triggers: null
actions:
  - action: ocpp.get_configuration
    data:
      ocpp_key: MeterValueSampleInterval
  - wait_for_trigger:
     - event_type: ocpp.get_configuration_result
       event_data:
         key: MeterValueSampleInterval
       trigger: event
  - condition: template
    value_template: |
      {{ trigger.event.data.value != '5' }}
  - data:
      key: MeterValueSampleInterval
      value: "5"
    action: ocpp.set_configuration

When this is executed, I can in the log that the GetConfiguration message is sent to the CS, and a correct result is returned. However, the automation keeps waiting for the trigger. It seems like the ocpp.get_configuration_result event is never triggered.

Does anyone know what's going wrong?

本文标签: Home Assistantocppgetconfigurationresult not triggeredStack Overflow