Skip to content

Please give example how to execute command from HASS #32

@niwi-hh

Description

@niwi-hh

Could you please add an example to the documentation, how to execute custom commands from Home Assistant?

I am asking because I tried a lot of things to archive this without success. Since I don't even know what the exact steps are, it is difficult to search for an error.

Here is what I thought would be working:

`
alias: New Script
sequence:

  • service: openwrt.exec
    target:
    device_id: 960efgh62ec3abcd577fa1234b7e
    data:
    command: /opt/dns4me.sh
    `

Home Assistant answers with: Unknown error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions