How to use the denonavr.denonavr.DenonAVRZones function in denonavr

To help you get started, we’ve selected a few denonavr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github scarface-4711 / denonavr / denonavr / denonavr.py View on Github external
def create_zones(self, add_zones):
        """Create instances of additional zones for the receiver."""
        for zone, zname in add_zones.items():
            # Name either set explicitly or name of Main Zone with suffix
            zonename = "{} {}".format(self._name, zone) if (
                zname is None) else zname
            zone_inst = DenonAVRZones(self, zone, zonename)
            self._zones[zone] = zone_inst

denonavr

Automation Library for Denon AVR receivers

MIT
Latest version published 16 days ago

Package Health Score

72 / 100
Full package analysis

Similar packages