Skip to content

v1.4.9

Choose a tag to compare

@FredM67 FredM67 released this 23 Mar 17:10
Immutable release. Only release title and notes can be modified.

Documentation Update

Updated ESPHome configuration examples to reflect that the send_command service is now defined in YAML via api: actions: instead of being auto-registered by the emontx component.

What changed

The ESPHome emontx component no longer uses CustomAPIDevice to auto-register the send_command service. Users now define it explicitly in their api: section using the standard ESPHome pattern:

api:
  custom_services: true
  actions:
    - action: send_command
      variables:
        command: string
      then:
        - emontx.send_command:
            command: !lambda 'return command;'

config_panel: true still automatically fires esphome.emontx_raw and esphome.emontx_json events as before.