Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUGGESTION] Add Original Message in Our message #25

Closed
emme73 opened this issue Jan 6, 2023 · 1 comment
Closed

[SUGGESTION] Add Original Message in Our message #25

emme73 opened this issue Jan 6, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@emme73
Copy link

emme73 commented Jan 6, 2023

Ciao,
it would be nice to include the input message in the output one, specially in multichannels surge protectors the output message just include a payload but not the channel.

I've made it by changinging line 85 of smartplug-control.js
from
Platform.send({ payload : r });
to
Platform.send({ origin: msg, payload : r });

dehsgr added a commit that referenced this issue Jan 6, 2023
Thanks @emme73 for this input.
@dehsgr dehsgr added the enhancement New feature or request label Jan 6, 2023
@dehsgr
Copy link
Owner

dehsgr commented Jan 6, 2023

Thanks for your input. A new version is published ASAP.

@dehsgr dehsgr closed this as completed Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants