Yet Another 16 Channel Relay Module wtih TCP/IP Ethernet USR-R16

Modify @jameshilliard HLK-SW16 python lib and ha components.


todo:

  • turn on all
  • turn off all
  • toggle all

Cool, nice that you were able to reuse code from my HLK-SW16 library, are you planning to create a pull request for it to the home-assistant project?

Yeah. Maybe after finished the todo list.
Thanks for the code BTW. It becomes a python async tutorial for me .

I left a few comments with suggestions for improving your implementation.

Thanks. I’ll try to change the discover into an asyncio version.

Renew the integration

It somehow work also for USR io88 as well. great.