I am trying to create a custom component. I need to have a continuous listener on the device and automatically update states and attributes of the device even when controlled from IR remote of the device. Can you please suggest me the HA functions to achieve this?
I have created a thread to create a socket connection with the device and read feedback from the device without sending any command. I was able to receive the feedback command when controlling the device from IR Remote. But due to this thread,I was not able to send any command using the same connection in the setup function.
Is there any way by which I can manage both the things?
Not personally, but I’m led to believe that everyone on there is very helpful and it doesn’t sound like a complicated query for the devs to answer so I would just drop in and see who’s there