ol-iver / denonavr

Automation Library for Denon AVR receivers.
MIT License
176 stars 67 forks source link

Register telnet callbacks only once #310

Closed ol-iver closed 1 month ago

ol-iver commented 1 month ago

Allow registering the same coroutine only once as a telnet callback. Before, it could be registered multiple times. This lead to the situation that the internal telnet callbacks could be registered multiple times in case async_setup method was called multiple times.