I am trying to iterate over showed attributes to fetch data and then update them.
Here is what I get inside api.store.getState().config.devices in my test instance:
Basically I look for attributes field, which seems to be OK, but there is a nested object with another instance of attributes field array which is confusing. Is it intended to be so, or there is something wrong?
I am trying to iterate over showed attributes to fetch data and then update them.
Here is what I get inside
api.store.getState().config.devices
in my test instance:Basically I look for
attributes
field, which seems to be OK, but there is a nested object with another instance ofattributes
field array which is confusing. Is it intended to be so, or there is something wrong?