Home Assistant - ocpp.get_configuration_result not triggered - Stack Overflow

I am controlling an EV charger from Home Assistant through the Ibbrhzn ocpp integration which works fin

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744691815a4588254.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信