@property
    def state(self):
        self.calls.append(('state', {}))
        return self._state
Return the name of the device if any.
dataset/ETHPy150Open home-assistant/home-assistant/tests/common.py/MockToggleDevice.state