switchbot/__init__.py
def moving(self):
        """A curtain is currently moving."""
        for child in self.children:
            if child.moving:
                return True

        return False
A curtain is currently moving.
A curtain is currently moving.
A curtain is currently moving .
def moving(self):
        for child in self.children:
            if child.moving:
                return True
        return False
def moving ( self ) : for child in self . children : if child . moving : return True return False
A curtain is currently moving.
A curtain is currently moving .
"""A curtain is currently moving."""
self