My router has an entity of online devices that has an attribute called ‘devices’. Within the ‘devices’ attribute, it has the name of the device and inside that there are additional attributes.
I would like to know if a certain named device is connected Wired or Wireless (and maybe also the ip address). The list changes so I cannot simply use the index number of the name.
For example I want to find the name ‘Echo-Living room’ within the ‘devices’ attribute and then get the value of the ‘connection’ attribute within the ‘- name: Echo-Living room’.