CJNE / ha-myenergi

Home Assistant integration for MyEnergi devices
MIT License
143 stars 32 forks source link

Anyone know how to setup, or have documents for the services in HA #513

Open 66schoollane opened 5 months ago

66schoollane commented 5 months ago

I can see these in Home Assistant but have no idea how to use them?

Service to start boost (provide boost amount in kWh as parameter) Service to start smart boost (provide boost amount in kWh and desired finished time as paramters) Service to stop boost Service to unlock the Zappi

G6EJD commented 5 months ago

Use an automation in HA

66schoollane commented 5 months ago

As an example automation do you know what goes in the data field

alias: Service to unlock the Zappi
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.myenergi_zappi_25178861_plug_status
    from: null
  - platform: state
    entity_id:
      - input_button.zappi_unlock
condition: []
action:
  - service: myenergi.myenergi_unlock
    data: {}
mode: single
LeeUKM commented 5 months ago

my head was hurting as a newbie but managed with UI.

This may be useful:

https://community.home-assistant.io/t/trigger-home-assistant-actionable-notifications-by-connecting-ev-myenergi-zappi/623967

G6EJD commented 4 months ago

This should be closed as it was never a software issue.

G6EJD commented 4 months ago

This issue needs to be closed by the instigator @66schoollane