v1.4.9
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.