-
Notifications
You must be signed in to change notification settings - Fork 78
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
[JSONconfig] : defaultSendTo not taking data from native with useNative attribute set to try #2241
Comments
From how I understand it,
|
Correct and that's also working with default sendTo, I receive the message and respond back But the data I provide back is not used Same functionality with just sendTo works Example code in esphome, sendTo handles a button request provide data back for tables This button should execute also a defaultSendTo (so at page load) to handle the data I would like to automatically load these values without pushing the button Will add code lines as soon I am back at my desk |
Then, I think what we need is a property for the |
I Thought defaultSendTo is used for that purpose Please be aware, it works for autocompleteSend bitbthw difference is Here that I proces data Directory and for the other one I Need to use the values returned back as the Button Regress another Attribute (table) So WhatsApp Happens is, if Oboist the Button the table is Build as expected But default load Not, so I assumeren the native is Not processen Here weich is different beterend sendTo and defaultSendTo |
Yes, for |
clear that sounds promising, anything else you need from my side or I can assist in ? |
No existing issues.
Describe the bug
I would like to load table content by using a button configured as sendTo, this works as expected.
But I also would like to load this table by default when entering the page, for this purpose attribute "defaultSendTo" is used.
Messages are arriving at the backend and also send back, but not loaded by default using the native attributes
To Reproduce
Expected behavior
data provided by defaultSendTo should ensure proper message handling, see code at ESPHome:
Screenshots & Logfiles
https://github.com/DrozmotiX/ioBroker.esphome/blob/main/admin/jsonConfig.json5#L239-L254
relates to DrozmotiX/ioBroker.esphome#192
Adapter version
6.12.5
js-controller version
5.0.16
Node version
18
Operating system
Linux/Docker/DevServer
Additional context
No response
The text was updated successfully, but these errors were encountered: