mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-05-02 20:51:10 +00:00

* Allow specifying broadcast address In situations such as multiple network interfaces, it may be necessary to specify the broadcast address so that the discovery message is sent to the desired local network. * Added the option to specify broadcast address Sometimes it's necessary to specify what broadcast address it should send the discovery message. For instance, there are multiple network interfaces on the host. * Get target from parent context when in subcommand Since --target is a top-level option and we want to use it in subcommands, use ctx.parent.params['target'] to retrieve it. * Removed the trailing space. * Deleted commented out line