class DevicePositionMixin():
    @property
    def x(self):
        return self.config.get('x', None)

    @property
    def y(self):
        return self.config.get('y', None)

    @property
    def z(self):
        return self.config.get('z', None)

@@ -1,8 +1,31 @@
+%22%22%22Device Mixins.%22%22%22%0A%0A%0A
 class De
@@ -49,186 +49,728 @@
 ():%0A
-    @property%0A    def x(self):%0A        return self.config.get('x', None)%0A%0A    @property%0A    def y(self):%0A        return self.config.get('y', None)%0A%0A    @property%0A    def z(self):
+%0A    %22%22%22Adds x/y/z getters to a device.%0A%0A    For devices that have x/y/z config in the yaml this%0A    mixin will add getters to allow the use of device.x%0A    device.y and device.z instead of device.config%5B'x'%5D%0A    %22%22%22%0A%0A    @property%0A    def x(self):%0A        %22%22%22Get the X value from the config.%0A%0A        Returns the devices x position from config%0A        %22%22%22%0A        return self.config.get('x', None)%0A%0A    @property%0A    def y(self):%0A        %22%22%22Get the Y value from the config.%0A%0A        Returns the devices y position from config%0A        %22%22%22%0A        return self.config.get('y', None)%0A%0A    @property%0A    def z(self):%0A        %22%22%22Get the Z value from the config.%0A%0A        Returns the devices z position from config%0A        %22%22%22
 %0A   

Fix up docstrings in mpf/devices/device_mixins.py